SECMultiDocTemplate::EnableContextMenu

voidSECMultiDocTemplate::EnableContextMenu(BOOLbEnable= TRUE, BOOLbUpdate= TRUE)

Adds/Removes the SCXOPT_NO_CONTEXTMENU flag. The context menu is displayed by right clicking in the caption.

Defined in: Sdocmult.cpp

Return Value

void

Comments

Enabling the context menu will disable right mouse button double click docking (adds SCXOPT_NO_HANDLE_RDBLCLK)

Parameters

bEnable

If TRUE, the context menu will be enabled

bUpdate

If TRUE all frame windows will be updated by calling their EnableSysCommandEx() function.