Help Center

SetInfofunction

Sets information for a 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 SetInfo (BYVAL hMenu AS HMENU, BYVAL pmi AS MENUINFO PTR) AS BOOLEAN
FUNCTION SetInfo (BYVAL hMenu AS HMENU, BYREF mi AS MENUINFO) AS BOOLEAN

Parameters

NameDescription
hMenuA handle to a menu.
pmiA pointer to a MENUINFO structure for the menu..
miA MENUINFO structure for the menu..

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Description

Sets information for a specified menu.

Reference

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