Partager via


CMenu::operator HMENU

Use this operator to retrieve the handle of the CMenu object.

operator HMENU( ) const;

Return Value

If successful, the handle of the CMenu object; otherwise, NULL.

Remarks

You can use the handle to call Windows APIs directly.

Requirements

Header: afxwin.h

See Also

Reference

CMenu Class

Hierarchy Chart