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  
);

Parameters

  • 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.

Remarks

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

Requirements

Header: afxwin.h

See Also

Reference

CFrameWnd Class

Hierarchy Chart

CStatusBar Class