This example returns a constant that indicates the current forecast display option: cbTwoDShowDefineFore, cbTwoDShowTargetFore, or cbTwoDHideFore.
CB.GetTwoDSimulationOption cbTwoDForeOption