Compartilhar via


CCmdUI Members

Data Members

m_nID

The ID of the user-interface object.

m_nIndex

The index of the user-interface object.

m_pMenu

Points to the menu represented by the CCmdUI object.

m_pOther

Points to the window object that sent the notification.

m_pSubMenu

Points to the contained sub-menu represented by the CCmdUI object.

Operations

ContinueRouting

Tells the command-routing mechanism to continue routing the current message down the chain of handlers.

Enable

Enables or disables the user-interface item for this command.

SetCheck

Sets the check state of the user-interface item for this command.

SetRadio

Like the SetCheck member function, but operates on radio groups.

SetText

Sets the text for the user-interface item for this command.

See Also

Reference

CCmdUI Class

Hierarchy Chart