typedef enum AFX_DOCK_TYPE
{
DT_UNDEFINED = 0, // inherit from application
DT_IMMEDIATE = 1, // control bar torn off immediately and follows the mouse
DT_STANDARD = 2, // user drags a frame
DT_SMART = 0x80 // smart docking style
};
DT_UNDEFINED 继承父级的,如果都没指定则,dock悬浮后将不能再停靠。
DT_IMMEDIATE control bar 迅速脱离,并跟随着鼠标移动。
DT_STANDARD 用户得到一个拖动框架(有一个虚框跟随着鼠标移动)。
DT_SMART 智能的停靠(会在多个提示框)。