BCGControlBar Pro for MFC
void CBCGPMDIFrameWnd::EnableWindowsDialog ( UINT  uiMenuId,
LPCTSTR  lpszMenuText,
BOOL  bShowAllways = FALSE,
BOOL  bShowHelpButton = FALSE,
BOOL  bResizable = FALSE,
BOOL  bStorePlacement = FALSE,
BOOL  bShowPathInTooltips = TRUE 
)

Inserts a menu item whose command invokes a windows management dialog box.

Use this function to insert a menu item whose command will invoke a MDI child windows management dialog box (CBCGPWindowsManagerDlg). The new item will be inserted into menu specified by uiMenuId. Call the EnableWindowsDialog when processing WM_CREATE message.

Parameters
uiMenuIdSpecifies the menu resource ID.
lpszMenuTextSpecifies the item's text.
bShowAllwaysIf TRUE, show windows dialog everytime; otherwise only instead of the standard "Windows..." dialog (appear if more than 9 windows are open).
bShowHelpButtonSpecifies whether to display a "Help" button on the windows management dialog box.
bResizableSpecified whether the dialog is resizable.
bStorePlacementSpecified whether the dialog is created on the recent location with the recent dimensions.
bShowPathInTooltipsSpecifies whether a full path will be displayed in the items's tooltip.