Click here to Skip to main content
Sign Up to vote bad
good
See more: C++WTL
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 28 Jan '11 - 23:40

Comments
Alain Rist - 4 Feb '11 - 2:39
Which compiler, Win SDK version, WTL version, OS with the problem?

2 solutions

Comment out this line in the PreCreateWindow of your CFrameWnd derived class
 
//cs.lpszClass = AfxRegisterWndClass(0);
 
Michel Degroux
  Permalink  
Comments
Alain Rist - 4 Feb '11 - 2:37
There is no CFrameWnd and no PreCreateWindow in WTL :(
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?
  Permalink  
Comments
shivam13 - 29 Jan '11 - 8:53
icon file is of 32x32.

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 208
1 OriginalGriff 203
2 Rohan Leuva 195
3 Abhinav S 168
4 Mahesh Bailwal 145
0 Sergey Alexandrovich Kryukov 8,474
1 OriginalGriff 6,714
2 CPallini 3,603
3 Rohan Leuva 2,853
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 3 Feb 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid