Click to See Complete Forum and Search --> : caption in taskbar


hot_water
November 29th, 2005, 11:57 PM
I have a dialog without a title bar. When I run my program, a new button(with window default icon and no caption) is added into the taskbar.
I am able to add an icon for this button using wm_seticon but I don't know how to set a caption for it.

Can anyone give me a hint?

golanshahar
November 30th, 2005, 02:22 AM
look at ::SetWindowText(..) (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/setwindowtext.asp)

Cheers