Programmer's Guide > Interfaces > Window interface > dock attribute
  
dock attribute
Indicates the docking state of the window. The value can only be changed before the window is displayed or when the window is hidden, but it can be read any time. If the value is DOCK_NONE, the window is floating.
dock
Access
read-write
Returns
DockState
Set throws
WindowException NO_DOCKING_ALLOWED_ERR: Raised if the window is not dockable.
INVALID_DOCKING_ERR: Raised if dock location is not enabled.