How to set Icon?
-
I want to set an icon for my app. I am not using MFC. Its plain Win32. How do I do that? Aljechin Alexander :rose:
-
I want to set an icon for my app. I am not using MFC. Its plain Win32. How do I do that? Aljechin Alexander :rose:
Use
WM_SETICON
.
Nibu thomas Software Developer
-
Use
WM_SETICON
.
Nibu thomas Software Developer
I dont know how to use that. Can you show one code sample please? :rose: Aljechin Alexander
-
Use
WM_SETICON
.
Nibu thomas Software Developer
I do not know how to use that. Can you kindly show some code sample of how to do it? :rose: Aljechin Alexander
-
I do not know how to use that. Can you kindly show some code sample of how to do it? :rose: Aljechin Alexander
HICON hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); PostMessage(hWnd, WM_SETICON, TRUE, hIcon);
-
I dont know how to use that. Can you show one code sample please? :rose: Aljechin Alexander
-
HICON hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); PostMessage(hWnd, WM_SETICON, TRUE, hIcon);
From the OP:
I am not using MFC. Its plain Win32. How do I do that?
Peace! -=- James
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
DeleteFXPFiles & CheckFavorites (Please rate this post!)