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.


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 



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


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.

Community Additions

© 2015 Microsoft