SECMDIFrameWnd::EnableCustomCaption

BOOLSECMDIFrameWnd::EnableCustomCaption(BOOLbEnable, BOOLbRedraw)

Use this member function to enable or disable the custom rendering of the caption bar. If custom caption bar rendering is enabled, the caption bar is drawn with a smooth gradient effect, and the caption text is positioned according to the text alignment specified via the SetCaptionTextAlign member function. If the custom caption bar rendering is disabled, the standard look and feel of the caption bar is drawn instead. If you don’t want a redraw to occur after the custom caption rendering is modified, specify False as the value of the last parameter.

Defined in: swinmdi.cpp

Return Value

BOOL The previous state of custom caption rendering.

Parameters

bEnable

Enable the custom caption rendering.

bRedraw

Force a redraw of the caption bar.

See Also

SetCaptionTextAlign