|
virtual |
Sets the menu bar object's maximize mode.
When an MDI child window is maximized, a menu bar that is attached to the MDI main frame window should display the system menu and minimize, maximize and close buttons (system buttons).
The SetMaximizeMode function is called by the framework when some MDI child window changes its show mode.
If bMax is TRUE, than the menu bar objects changes its mode, e.g shows the system buttons and takes the system menu from the window specified by pWnd parameter.
If bMax is FALSE, or pWnd is NULL the menu bar object returns to its regular state.
bMax | Specifies the mode. |
pWnd | A pointer to window. |
bRecalcLayout | Specifies whether the menu bar's layout should be recalculated immediately. |