Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 30 Jun 2005 15:13:20 -0700,    group: microsoft.public.platformsdk.ui_shell        back       


Taskbar icon   
I have a dialog-only ATL app, that is, it is a CAtlExeModuleT - derived app 
that opens a modal dialog from Run() and exits when the dialog closes.

When I alt+tab through running applications, the icon for app is null. How 
can I fix this? The app has no main window, only the dialog. Where does the 
shell get that icon?

RDeW
date: Thu, 30 Jun 2005 15:13:20 -0700   author:   Riley DeWiley

Re: Taskbar icon   
>I have a dialog-only ATL app, that is, it is a CAtlExeModuleT - derived app 
>that opens a modal dialog from Run() and exits when the dialog closes.
>
>When I alt+tab through running applications, the icon for app is null. How 
>can I fix this? The app has no main window, only the dialog. Where does the 
>shell get that icon?

Try using WM_SETICON to assign an icon (large & small) to the dialog.

Dave
-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq
date: Fri, 01 Jul 2005 08:24:45 +0100   author:   David Lowndes lid

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us