Sign in to follow this  
yewbie

how to: change windows title?

Recommended Posts

Ok when i create a window with like so hWndMain=CreateWindowEx(0,"mycrappywindowsclass",WINTITLE, WS_VISIBLE ,0,0,300,250,NULL,NULL,hInstMain,NULL); the 3rd argument sets the windows title... now my question is, is there a way to change this windows title from inside the code without recreating the window itself?? ive seen other programs do it.. what im trying to do is display some debuging information on the title bar... any help would be appreciated, thanks!

Share this post


Link to post
Share on other sites
nm i solved this, i just created a secondary console to handle output information, and you can set the title of that window by calling SetConsoleTitle, but if someone can get me information now how to set a actual window title that would be great!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this