SECFrameDockingFeature::SetBorderSizing
Set the border sizing configuration for a specifed border
Defined in: FrameDock.cpp
Syntax
SetBorderSizing(const SECSetBorderSizingParms& SizingParms,BOOL bRecalcResize=FALSE)
SetBorderSizing(DockSite site,const SECSetBorderSizingParms& SizingParms,BOOL bRecalcResize=FALSE)
SetBorderSizing(DWORD dwDockSite,const SECSetBorderSizingParms& SizingParms,BOOL bRecalcResize=FALSE)
Return Value
TRUE on success, FALSE on error.
Parameters
SizingParms
Sizing parameters to apply to a specific border
bRecalcRealize
If TRUE, issue a RecalcLayout and RealizeNode when complete.
site
Docksite border to which these settings are applied. Must be one of the following:
SECFrameDockingFeatureBase::top
SECFrameDockingFeatureBase::bottom
SECFrameDockingFeatureBase::left
SECFrameDockingFeatureBase::right
dwDockSite
Id of border to whichthese settings are applied. Must be one of the following:
SEC_DOCK_LEFT - Dock to the left border of the frame
SEC_DOCK_TOP - Dock to the top border of the frame
SEC_DOCK_RIGHT - Dock to the right border of the frame
SEC_DOCK_BOTTOM - Dock to the bottom border of the frame
Comments
Sets configuration parameters controlling how a particular border will be resized by the user. The first overload can be used to apply settings uniformly to all 4 borders.
For more information on the possible modifications, refer to SECSetBorderSizingParms.
See Also