Changing static text
When i create a dialog box and use static text how can i change the text of it while the program is running? I have a progress control and i just want there to be a couple of words next to the control telling the user what the program is currently doing.
Any help is most appreciated.
Thanks
HWND hwndStaticTextWnd = GetDlgItem(hwndDLG,ID_STATICTEXTID);SendMessage(hwndStaticTextWnd,WM_SETTEXT,0,(LPARAM)"New Text");
D.V.
Carpe Diem
Edited by - DeltaVee on January 3, 2002 11:15:23 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement