Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: include text file in program Pin
Braulio Dez26-Aug-03 1:02
Braulio Dez26-Aug-03 1:02 
GeneralDouble data type validation Pin
Anonymous25-Aug-03 14:48
Anonymous25-Aug-03 14:48 
GeneralRe: Double data type validation Pin
Navin25-Aug-03 15:00
Navin25-Aug-03 15:00 
GeneralRe: Double data type validation Pin
Anonymous25-Aug-03 20:20
Anonymous25-Aug-03 20:20 
GeneralRe: Double data type validation Pin
Abin26-Aug-03 3:10
Abin26-Aug-03 3:10 
Generalsetting the application icon at runtime Pin
Jim Crafton25-Aug-03 13:58
Jim Crafton25-Aug-03 13:58 
GeneralRe: setting the application icon at runtime Pin
Navin25-Aug-03 14:51
Navin25-Aug-03 14:51 
GeneralRe: setting the application icon at runtime Pin
Jim Crafton25-Aug-03 16:38
Jim Crafton25-Aug-03 16:38 
Well I'm not using MFC, so I just use the SendMessage equivalent, but unfortunately all it changes is the window icon - the icon that shows in the Alt/Tab window is different (that's the one from the app's resource icon). I did some more digging but pretty much didn't find much other than to confirm that
::SendMessage( hwnd_, WM_SETICON, ICON_BIG, (LPARAM)winIcon );
works, but curiously if you use
::SendMessage( hwnd_, WM_SETICON, ICON_SMALL, (LPARAM)winIcon );

It doesn't make the change permanent - Wee what fun, the Win32 API is ! Smile | :)

And they say size doesn't matter !


So for the moment I think I just give up and settle for changing the Window icon - better than nothing

Cheers


¡El diablo está en mis pantalones! ¡Mire, mire!

Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
GeneralRe: setting the application icon at runtime Pin
Toni7825-Aug-03 20:36
Toni7825-Aug-03 20:36 
GeneralRe: setting the application icon at runtime Pin
DaFrawg29-Sep-03 2:27
DaFrawg29-Sep-03 2:27 
QuestionHow to include dialog in the view Pin
Binayak25-Aug-03 13:20
Binayak25-Aug-03 13:20 
GeneralControl Bars Pin
Xakep25-Aug-03 12:59
Xakep25-Aug-03 12:59 
GeneralRe: Control Bars Pin
Thomas Lau25-Aug-03 16:22
Thomas Lau25-Aug-03 16:22 
GeneralRe: Control Bars Pin
Mike Dimmick25-Aug-03 22:42
Mike Dimmick25-Aug-03 22:42 
GeneralClosing the handle of a dynamically spawned thread Pin
Kuniva25-Aug-03 12:17
Kuniva25-Aug-03 12:17 
GeneralRe: Closing the handle of a dynamically spawned thread Pin
Mike Dimmick25-Aug-03 22:43
Mike Dimmick25-Aug-03 22:43 
GeneralDialog prompts in German - would like to restore to English Pin
Peter Maton25-Aug-03 11:15
Peter Maton25-Aug-03 11:15 
GeneralRe: Dialog prompts in German - would like to restore to English Pin
Peter Maton26-Aug-03 13:08
Peter Maton26-Aug-03 13:08 
Generalcolor table of bitmap Pin
includeh1025-Aug-03 10:34
includeh1025-Aug-03 10:34 
GeneralRe: color table of bitmap Pin
Joaquín M López Muñoz25-Aug-03 10:42
Joaquín M López Muñoz25-Aug-03 10:42 
GeneralSimple question. Pin
Jon Newman25-Aug-03 10:03
Jon Newman25-Aug-03 10:03 
GeneralRe: Simple question. Pin
Joaquín M López Muñoz25-Aug-03 10:39
Joaquín M López Muñoz25-Aug-03 10:39 
GeneralRe: Simple question. Pin
Jon Newman25-Aug-03 10:42
Jon Newman25-Aug-03 10:42 
GeneralTemplate for experts!! help Pin
berserker_r25-Aug-03 9:40
berserker_r25-Aug-03 9:40 
GeneralRe: Template for experts!! help Pin
Anonymous25-Aug-03 10:19
Anonymous25-Aug-03 10:19 

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.