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

CFrameWnd::SetMessageText

Call this function to place a string in the status-bar pane that has an ID of 0.

void SetMessageText( 
   LPCTSTR lpszText  
); 
void SetMessageText( 
   UINT nID  
);

lpszText

Points to the string to be placed on the status bar.

nID

String resource ID of the string to be placed on the status bar.

This is typically the leftmost, and longest, pane of the status bar.

Header: afxwin.h

Show:
© 2015 Microsoft