---
name: "ShowHideMenuCtl"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/ShowHideMenuCtl"
---

# ShowHideMenuCtl(3w)

## NAME

**ShowHideMenuCtl** (COMCTL32.3)

## SYNOPSIS

BOOL ShowHideMenuCtl\
  (\
   HWND     *hwnd*,\
   UINT\_PTR *uFlags*,\
   LPINT    *lpInfo*\
  )

## DESCRIPTION

Shows or hides controls and updates the corresponding menu item.

## PARAMS

*hwnd* **\[In\]**  handle to the client window.

*uFlags* **\[In\]**  menu command id.

*lpInfo* **\[In\]**  pointer to an array of integers. (See **NOTES**.).

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**.

## NOTES

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.

## IMPLEMENTATION

Declared in **"commctrl.h"**.

Implemented in **"dlls/comctl32/commctrl.c"**.

Debug channel **"commctrl"**.
