Programmer's Guide > Interfaces > Window interface > DockEnabled enumeration
  
DockEnabled enumeration
The DockEnabled enumeration is an integer specifying the edges of the main window this window is allowed to dock to.
The DockEnabled enumeration has the following constants of type unsigned short.
ENABLE_NONE = 0
The window is not allowed to dock.
ENABLE_TOP = 1
The window is allowed to dock at the top edge of the main window.
ENABLE_BOTTOM = 2
The window is allowed to dock at the bottom edge of the main window.
ENABLE_LEFT = 3
The window is allowed to dock at the left edge of the main window.
ENABLE_RIGHT = 4
The window is allowed to dock at the right edge of the main window.
ENABLE_TOP_BOTTOM = 5
The window is allowed to dock at the top and bottom edges of the main window.
ENABLE_TOP_LEFT = 6
The window is allowed to dock at the top and left edges of the main window.
ENABLE_TOP_RIGHT = 7
The window is allowed to dock at the top and right edges of the main window.
ENABLE_BOTTOM_LEFT = 8
The window is allowed to dock at the bottom and left edges of the main window.
ENABLE_BOTTOM_RIGHT = 9
The window is allowed to dock at the bottom and right edges of the main window.
ENABLE_LEFT_RIGHT = 10
The window is allowed to dock at the left and right edges of the main window.
ENABLE_TOP_BOTTOM_LEFT = 11
The window is allowed to dock at the top, bottom, and left edges of the main window.
ENABLE_TOP_BOTTOM_RIGHT = 12
The window is allowed to dock at the top, bottom, and right edges of the main window.
ENABLE_TOP_LEFT_RIGHT = 13
The window is allowed to dock at the top, left, and right edges of the main window.
ENABLE_BOTTOM_LEFT_RIGHT = 14
The window is allowed to dock at the bottom, left, and right edges of the main window.
ENABLE_ANY = 15
The window is allowed to dock at any edge of the main window.