Changing the title caption and showing icon in window mode
by Adam Johnston · in Torque Game Builder · 02/16/2006 (9:21 am) · 5 replies
Hi there
I was trying to change the window caption title by default "T2D" for the name of my game
"myGame" and showing my custom Icon in the title bar (in windowed mode) because when
I am playing and the game loses the focus or the user press ALT+TAB I can see a "dummy icon"
like a console icon, I want my icon there. I changed the icon resource but the icon isn't showed
in the task bar. I'm speaking about Win32 only and currently using alpha4...
Thanxs.
I was trying to change the window caption title by default "T2D" for the name of my game
"myGame" and showing my custom Icon in the title bar (in windowed mode) because when
I am playing and the game loses the focus or the user press ALT+TAB I can see a "dummy icon"
like a console icon, I want my icon there. I changed the icon resource but the icon isn't showed
in the task bar. I'm speaking about Win32 only and currently using alpha4...
Thanxs.
#2
I'm still unable to show my own icon in-game windowed mode.
02/16/2006 (10:46 am)
Thank you Chris this allowed me to change the caption title barI'm still unable to show my own icon in-game windowed mode.
#3
02/16/2006 (10:53 am)
I had the icon for Basic Bob show up the way you want it and I'm pretty sure all I had to do was change the icon of the exe.
#4
changed, (the icon you could see in the explorer)
but by default (now I tested in beta 1.1) T2D doesn't show the icon in the
upper-left corner of the app (in windowed mode) like other apps
and when you use ALT+TAB (changing aplications) the icon that is showed in the
app selector is a "dummy icon" I remember this was dependent of the flags at the
moment of the creation of the window...
If you have this icon in yur game I'd like to know how do you did it.
I'm using VC++ 2003 and beta 1.1 now
Thanxs.
02/16/2006 (12:01 pm)
Maybe I was misunderstood, I changed the icon resource and the icon of the exechanged, (the icon you could see in the explorer)
but by default (now I tested in beta 1.1) T2D doesn't show the icon in the
upper-left corner of the app (in windowed mode) like other apps
and when you use ALT+TAB (changing aplications) the icon that is showed in the
app selector is a "dummy icon" I remember this was dependent of the flags at the
moment of the creation of the window...
If you have this icon in yur game I'd like to know how do you did it.
I'm using VC++ 2003 and beta 1.1 now
Thanxs.
#5
Of course I was using a shortcut with the icon set.
If neither of those work, I am unable to help you
02/16/2006 (12:12 pm)
Adam - Im pretty sure that IS how I did it. Of course I was using a shortcut with the icon set.
If neither of those work, I am unable to help you
Torque Owner Chris Labombard
Premium Preferred
initializeCanvas("T2D");in games\common\gamescripts\common.cs