CFrameWnd::SetMessageText

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.

Requirements

Header: afxwin.h

Show:
© 2016 Microsoft