BCGSuite for MFC
CBCGPFormView

Detailed Description

The CBCGPFormView class extends the functionality of the CFormView class by adding the following new and extended features:

  • Visual themes support
  • Resizable layouts
  • Integration with other library components

To take advantage of CBCGPFormView features you just need to derive your view class from the CBCGPFormView class instead of CFormView class.

+ Inheritance diagram for CBCGPFormView:

Public Types

enum  BackgroundLocation
 

Public Member Functions

 AutoResizeControlsEnable auto-resizing check boxes, radio buttons and static labels.
 
 EnableLayoutEnables or disables layout manager for a form view
 
 EnableVisualManagerStyleAdds visual theme support to the dialog
 
 GetInfoTipControlGets a dialog control with currently active info tip.
 
 GetLayoutReturns a pointer to layout manager.
 
 IsAutoPrepareComboListStylesTells whether all child list box and combo boxes should be recreated by adding "owner-draw fixed" and "has strings" Windows styles.
 
 IsControlsDefaultDlgBackgroundTells whether controls background redrawing is optimized.
 
 IsGroupBoxesDrawByParentTells whether group box control is rendered by parent window.
 
 IsLayoutEnabledTells whether layout management is enabled for a form view.
 
 IsMFCResourceLayoutTells whether the dialog uses MFC resource (loaded from the dialog resource) layout.
 
 IsVisualManagerStyleTells whether a window uses visual manager style.
 
 RemoveInfoTipsRemoves all previously added information tips.
 
 SetBackgroundImageSets the form view's background image
 
 SetBackgroundImageSets the form view's background image
 
 SetControlInfoTipAdds an information tip to the dialog child control specified by ID.
 
 SetControlInfoTipAdds an information tip to the dialog child control specified by window.
 
 SetControlsDefaultDlgBackgroundEnables/disables child controls background optimized redrawing.
 
 SetEditBoxesVerticalAlignmentSpecifies vertical alignment for all edit boxes located on the window (single-line only).
 
 SetGroupBoxesDrawByParentEnables drawing group box controls by the parent window.
 

Protected Attributes

 m_bAutoScrollOnChangeFocusTells whether the form view should be automatically scrolled when a newly focused control exceeds form's bounds.
 

Additional Inherited Members

- Protected Member Functions inherited from CBCGPGestureBase
 OnGestureEventBeginCalled by the framework to handle BCGP_GID_BEGIN notification.
 
 OnGestureEventEndCalled by the framework to handle BCGP_GID_END notification.
 
 OnGestureEventPressAndTapCalled by the framework to handle BCGP_GID_PRESSANDTAP notification.
 
 OnGestureEventRotateCalled by the framework to handle BCGP_GID_ROTATE notification.
 
 OnGestureEventTwoFingerTapCalled by the framework to handle BCGP_GID_TWOFINGERTAP notification.
 
 OnGestureEventZoomCalled by the framework to handle BCGP_GID_ZOOM notification.
 
 ProcessGestureEventThis method should be called from WM_GESTURE message handler.