BCGControlBar Pro for MFC

Detailed Description

The CBCGPControlsLayout class implements the base class for all layout managers. Layout managers are responsible for automatic reposition of controls hosted in a window for which layout management is enabled. You can enable layout management for CBCGPDialog, CBCGPFormView, CBCGPDialogBar, CBCGPPropertyPage and CBCGPPropertySheet calling EnableLayout method.

A class, for which layout management is enabled, is called "host window". Its child controls are anchored to its edges. You can also specify a distance between controls and edges, and "move type", which defines how a child control is repositioned when its host is resized.

See also
+ Inheritance diagram for CBCGPControlsLayout:

Public Member Functions

 AdjustLayoutRecalculate position of child controls.
 CreateInitializes a layout manager.
 GetHostWndReturns a pointer to a host window.
 GetHostWndRectReturns size and position of layout rectangle.
 GetMinSizeReturns minimal size of layout area.
 SetMinSizeSets minimal size of layout area.