Advertisement

Setting Windows Captions

Started by May 02, 2001 02:39 PM
2 comments, last by PyroBoy 23 years, 9 months ago
How do you set the caption of a window once the program is running? I know how to set it at startup (via the lpWindowName parameter of CreateWindowEx) but I want to be able to change it at various points durng the program.
SetWindowText(HWND WinHandle, char *NewTitle);
Advertisement
void SetWindowText( LPCTSTR lpszString );
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Thanks! :-)

This topic is closed to new replies.

Advertisement