_U_MENUorID::_U_MENUorID

The UINT argument is just cast to an HMENU in the constructor and the result stored in the class's single data member, m_hMenu.

_U_MENUorID( 
   UINT nID  
); 
_U_MENUorID( 
   HMENU hMenu  
);

Parameters

  • nID
    A child window identifier.

  • hMenu
    A menu handle.

Remarks

The argument to the HMENU constructor is stored directly without conversion.

Requirements

Header: atlwin.h

See Also

Reference

_U_MENUorID Class

_U_MENUorID::m_hMenu