Re: Title on taskbar changes to .exe name with multiple instances

From: David Lowndes (davidl_at_example.invalid)
Date: 05/25/04


Date: Tue, 25 May 2004 17:17:19 +0100


>When I start the first instance of my program, the taskbar shows the first N
>characters of the window title of my program followed by "..." if it doesn't
>fit.
>
>But when I start a second instance of the program on Windows XP with the
>"Group similar taskbar buttons" option checked, the title on the taskbar
>changes to the name of the .exe file.

>Why is it that my program is reverting to the .exe filename when I start the
>second instance? How can I avoid that?

I think XP displays the description string from the application's
version resource if it has one, so try adding that.

Dave

--
MVP VC++ FAQ: http://www.mvps.org/vcfaq

Loading