COleControl::GetMessageString

virtual void GetMessageString( UINT nID, CString& rMessage ) const;

Parameters

nID

A menu item ID.

rMessage

A reference to a CString object through which a string will be returned.

Remarks

Called by the framework to obtain a short string that describes the purpose of the menu item identified by nID. This can be used to obtain a message for display in a status bar while the menu item is highlighted. The default implementation attempts to load a string resource identified by nID.

COleControl OverviewClass MembersHierarchy Chart