Thanks for your continued efforts on this somewhat frivilous task.. as you can see, I have a 32x32 16 color icon that for some mysterious reason will not show itself in me' program.
I envision a day where code will work equally for everyone.
Thanks for your continued efforts on this somewhat frivilous task.. as you can see, I have a 32x32 16 color icon that for some mysterious reason will not show itself in me' program.
I envision a day where code will work equally for everyone.
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
The above is all you need. If I stop on by tomorrow and you haven't gotten it, I'll pack up a small, working example.Code:wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION); wincl.hIconSm = (HICON)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_SMLCON), IMAGE_ICON, 16, 16, 0); #define IDI_MYICON 010 #define IDI_SMLCON 020 IDI_SMLCON ICON DISCARDABLE "Crazy.ICO" IDI_MYICON ICON DISCARDABLE "Crazy.ICO"
Here's the example code. This 'il change your titlebar icon and the running window (taskbar) icon.
I'm assuming that this is what you're referring to -
Last edited by Oldman47; 04-03-2009 at 09:47 PM.
it woiks..!! :^)
Last edited by The Brain; 04-05-2009 at 04:24 PM.
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel