Help Center

GetWindowOwnerfunction

Retrieves the window owner of the specified menu

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetWindowOwner (BYVAL hMenu AS HMENU) AS HWND

Parameters

NameDescription
hMenuA handle to the menu.

Return value

The handle of the window that owns the menu.

Description

Retrieves the window owner of the specified menu

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus