I created a program that has the user sign up for it then stores their information in a file. How would you change the name of the window so that it shows User - username
username being the user's name
I'm using a Dialog to get the information from the user if that helps any. Email me at Slooky13@hotmail.com if you can help or post here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created a program that has the user sign up for it then stores their information in a file. How would you change the name of the window so that it shows User - username
username being the user's name
I'm using a Dialog to get the information from the user if that helps any. Email me at Slooky13@hotmail.com if you can help or post here.
If you mean changing the caption, that's easy.
SetWindowText(hwnd, "your text goes here, max 255 char");
Change that hwnd to the window handle of your window or dialogbox. It works on buttons, too.
rpeter