SECFrameDockingFeatureBase::SetFloatConfig

BOOLSECFrameDockingFeatureBase::SetFloatConfig(BOOLbHideOnClose, BOOLbCloseEnabled, CRect*pMRUFloatRect)

Set floating window parameters associated with a specific dockable node

Defined in: FrameDockBase.cpp

Return Value

TRUE if configuration successfully (re)set, else FALSE.

Parameters

bHideOnClose

If TRUE, hide the node when the floating window is closed. Otherwise destroy it.

bCloseEnabled

If TRUE, enable the floating window close button (default). Else, disable it.

pMRUFloatRect

Float rect MRU in screen coordinates. No change if NULL

Comments

Use this function to set floating specific parameters that will survive throughout the lifetime of a particular dockable node. The MRU Float Rect paremeter is useful for preconfiguring the floating MRU for an initially docked node, such that the first user float toggle will go to a specific set of coordinates.