ShowHideMenuCtl (COMCTL32.3)
BOOL ShowHideMenuCtl ( HWND hwnd, UINT_PTR uFlags, LPINT lpInfo )
Shows or hides controls and updates the corresponding menu item.
hwnd | [In] | handle to the client window. |
uFlags | [In] | menu command id. |
lpInfo | [In] | pointer to an array of integers. (See NOTES.). |
Success: TRUE
Failure: FALSE.
The official documentation is incomplete! This is the correct documentation:
hwnd Handle to the window that contains the menu and controls.
uFlags Identifier of the menu item to receive or lose a check mark.
lpInfo The array of integers contains pairs of values. BOTH values of the first pair must be the handles to the application's main menu. Each subsequent pair consists of a menu Id and control id.
Declared in "include/commctrl.h". gitlab.winehq.org/wine/wine/blob/master/include/commctrl.h
Implemented in "dlls/comctl32/commctrl.c". gitlab.winehq.org/wine/wine/blob/master/dlls/comctl32/commctrl.c
Debug channel "commctrl".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.