SECMultiDocTemplate::ModifyOptions

voidSECMultiDocTemplate::ModifyOptions(DWORDdwRemove, DWORDdwAdd, BOOLbUpdate= TRUE)

Adds and/or removes SCXOPT flags from the template

Defined in: Sdocmult.cpp

Return Value

void

Parameters

dwRemove

The flags to remove

dwAdd

The flags to add

Comments

The following flags can be passed in dwScxFlags:

SCXOPT_ENABLED

Necessary for any WM_SYSCOMMANDEX processing

SCXOPT_NO_CAPTION_BUTTON

Turn off the caption button

SCXOPT_NO_HANDLE_RDBLCLK

disable right double click firing of WM_SYSCOMMANDEX.

SCXOPT_NO_CONTEXTMENU

disables the context menu, which is normally displayed on a right mouse button up, in the caption.

bUpdate

If TRUE, the changes will be applied to all frame windows that were created with this doc template