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.
uiMenuId | Specifies the menu resource ID. |
lpszMenuText | Specifies the item's text. |
bShowAllways | If TRUE, show windows dialog everytime; otherwise only instead of the standard "Windows..." dialog (appear if more than 9 windows are open). |
bShowHelpButton | Specifies whether to display a "Help" button on the windows management dialog box. |
bResizable | Specified whether the dialog is resizable. |
bStorePlacement | Specified whether the dialog is created on the recent location with the recent dimensions. |
bShowPathInTooltips | Specifies whether a full path will be displayed in the items's tooltip. |