The ShowHideMenuCtl function sets or removes the specified menu item’s check-mark attribute, and shows or hides the corresponding control. The function adds a check mark to the specified menu item if it does not have one and then displays the corresponding control. If the menu item already has a check mark, the function removes the check mark and hides the corresponding control.
BOOL ShowHideMenuCtl(
HWND hWnd, |
// handle to MDI child window |
UINT uFlags, |
// message |
LPINT lpInfo |
// first message parameter |
); |
If the function shows or hides the control, the return value is nonzero.
If the function does not show or hide the control, the return value is zero.
See: