Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Time Comparisons Pin
Chris Losinger20-Jun-02 8:25
professionalChris Losinger20-Jun-02 8:25 
GeneralRe: Time Comparisons Pin
PaulJ20-Jun-02 8:57
PaulJ20-Jun-02 8:57 
GeneralRe: Time Comparisons Pin
Maximilien20-Jun-02 8:39
Maximilien20-Jun-02 8:39 
GeneralSystem Tray icons Pin
Abin20-Jun-02 8:05
Abin20-Jun-02 8:05 
GeneralRe: System Tray icons Pin
20-Jun-02 8:28
suss20-Jun-02 8:28 
GeneralRe: System Tray icons Pin
Abin20-Jun-02 8:33
Abin20-Jun-02 8:33 
GeneralRe: System Tray icons Pin
Shog920-Jun-02 8:53
sitebuilderShog920-Jun-02 8:53 
GeneralRe: System Tray icons Pin
20-Jun-02 8:59
suss20-Jun-02 8:59 
AFAIK LoadIcon() can't, but LoadImage() can.

Well, I personaly never specify icon size, usually Windows picks the appropriate icon automatically. Hm if you feel problems try to trick a little bit:
SetIcon(AfxGetApp()->LoadIcon(IDR_ICON_DEFAULT), TRUE);
SetIcon(NULL, FALSE);	//note: use small icon from big icon

Do NOT call SetIcon() for the small icon with an icon handle if your big icon provides the small device bitmap too.

Another workaround: feed CSystemTray with an 32x32 icon which is a scaled 16x16 icon (each pixel is build by 4 identical pixel).

Hope it helps.
GeneralPrinting long CString Pin
HenrikO20-Jun-02 7:38
HenrikO20-Jun-02 7:38 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 7:49
professionalChris Losinger20-Jun-02 7:49 
GeneralRe: Printing long CString Pin
HenrikO20-Jun-02 7:52
HenrikO20-Jun-02 7:52 
GeneralRe: Printing long CString Pin
Chris Losinger20-Jun-02 8:02
professionalChris Losinger20-Jun-02 8:02 
GeneralRe: Printing long CString Pin
HenrikO20-Jun-02 8:06
HenrikO20-Jun-02 8:06 
GeneralRe: Printing long CString Pin
Roger Allen21-Jun-02 1:39
Roger Allen21-Jun-02 1:39 
Generalcalling main window from a secondary dialoge Pin
SilentWarrior20-Jun-02 7:24
SilentWarrior20-Jun-02 7:24 
GeneralRe: calling main window from a secondary dialoge Pin
Joaquín M López Muñoz20-Jun-02 7:30
Joaquín M López Muñoz20-Jun-02 7:30 
GeneralMany threads in ATL Service Pin
Hans Ruck20-Jun-02 7:04
Hans Ruck20-Jun-02 7:04 
GeneralStack overflow. Pin
redeemer20-Jun-02 5:53
redeemer20-Jun-02 5:53 
GeneralRe: Stack overflow. Pin
Joaquín M López Muñoz20-Jun-02 6:30
Joaquín M López Muñoz20-Jun-02 6:30 
GeneralRe: Stack overflow. Pin
redeemer20-Jun-02 6:58
redeemer20-Jun-02 6:58 
GeneralExecute on Windows Shutdown Pin
Marc Richarme20-Jun-02 5:31
Marc Richarme20-Jun-02 5:31 
GeneralRe: Execute on Windows Shutdown Pin
Mike Nordell20-Jun-02 19:00
Mike Nordell20-Jun-02 19:00 
GeneralMenu Item Text Pin
20-Jun-02 5:14
suss20-Jun-02 5:14 
GeneralRe: Menu Item Text Pin
20-Jun-02 5:30
suss20-Jun-02 5:30 
GeneralRe: Menu Item Text Pin
Brian Delahunty20-Jun-02 6:13
Brian Delahunty20-Jun-02 6:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.