Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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:40pm
Comments
Alain Rist at 4-Feb-11 2:39am
   
Which compiler, Win SDK version, WTL version, OS with the problem?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Comment out this line in the PreCreateWindow of your CFrameWnd derived class
 
//cs.lpszClass = AfxRegisterWndClass(0);
 
Michel Degroux
  Permalink  
Comments
Alain Rist at 4-Feb-11 2:37am
   
There is no CFrameWnd and no PreCreateWindow in WTL :(
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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 at 29-Jan-11 8:53am
   
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
0 Sergey Alexandrovich Kryukov 718
1 OriginalGriff 421
2 Tadit Dash 355
3 sanket saxena 329
4 Peter Leow 193
0 Sergey Alexandrovich Kryukov 12,109
1 OriginalGriff 7,326
2 Peter Leow 5,003
3 Abhinav S 4,003
4 Maciej Los 3,575


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