Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hi,
I have an application whose icon is appearing in tray and in the title bar but when i press alt+tab the icon of the application is not appearing,there is a blank page icon is coming in place of my icon .
Please help me.
thank you.
Posted
Comments
Alain Rist 4-Feb-11 2:39am    
Which compiler, Win SDK version, WTL version, OS with the problem?

The title bar and system tray use the 16x16 icon, the alt-tab window uses a 32x32 icon.
Does your icon file contain a 32x32 icon?
 
Share this answer
 
Comments
anonymous1310 29-Jan-11 8:53am    
icon file is of 32x32.
Comment out this line in the PreCreateWindow of your CFrameWnd derived class

//cs.lpszClass = AfxRegisterWndClass(0);

Michel Degroux
 
Share this answer
 
Comments
Alain Rist 4-Feb-11 2:37am    
There is no CFrameWnd and no PreCreateWindow in WTL :(

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900