
Changing text on title bar
Wayne,
You need SetWindowText(..), which applies to *any* window. If you are using
an SDI format, you'll need to point to the main frame window as in...
AfxGetMainWnd()->SetWindowText(szMyTitle);
HTH
Cecil
--
-------------------------------------------
Cecil A. Galbraith
http://www.codesoup.com
Programmers Utilities/Tips
-------------------------------------------
Quote:
> How can I change the text displayed in a title bar dynamically in my
program?
> My program is a SDI program with MFC.