CFrameWnd::GetMessageString

Override this function to provide custom strings for command IDs.

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

Parameters

  • nID
    Resource ID of the desired message.

  • rMessage
    CString object into which to place the message.

Remarks

The default implementation simply loads the string specified by nID from the resource file. This function is called by the framework when the message string in the status bar needs updating.

Requirements

Header: afxwin.h

See Also

Reference

CFrameWnd Class

Hierarchy Chart

CFrameWnd::SetMessageText

Other Resources

CFrameWnd Members