Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function can be used to get a handle to a menu bar window created with SHCreateMenuBar.

Syntax

HWND WINAPI SHFindMenuBar(
  HWND 
hwnd
);

Parameters

hwnd

[in] Handle to the window that contains the menu bar to be found.

Return Value

This function returns a handle to the menu bar window for the specified window.

Requirements

Header aygshell.h
Library aygshell.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

SHCreateMenuBar