Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables the ability to tear off a color pane.
void EnableTearOff(
UINT uiID,
int nVertDockColumns=-1,
int nHorzDockRows=-1
);
Parameters
[in] uiID
Specifies the ID for the tear-off pane.[in] nVertDockColumns
Specifies the number of columns in the vertically docked color pane while in tear-off state.[in] nHorzDockRows
Specifies the number of rows for the horizontally docked color pane while in tear-off state.
Remarks
Call this method to enable the "tear-off" feature for the color pane that pops up when the CMFCColorMenuButton button is pressed.
Requirements
Header: afxcolormenubutton.h