Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.


Override this function to provide custom strings for command IDs.

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


Resource ID of the desired message.


CString object into which to place the message.

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.

Header: afxwin.h

Community Additions

© 2015 Microsoft