How to place your ICON on the top window
I'm new to this board, and also to C++. I use DEV-C++ app.
I'm also a wonderful website designer/hoster....but now find myself wanting to learn how to program my own programs,
so that i can support myself better (financially).
Anyway, I need to know how to insert the code for placing a icon on the windows I create...in the upper left hand side, as most other programs do?
Here, (I assume) is where it's placed: (in the file called:main.cpp)
/* Use default icon and mouse-pointer */
can someone please help me out? I want to place a ICO file called: kit.ico
hIcon = LoadIcon (NULL, IDI_APPLICATION);
Not sure you understand what i need
You know how, when one of your apps' windows comes up...
(to do whatever)...well, at the top of the window on the left, next to the programs name (title)...there's a icon usually...
sometimes it's the authors logo or the programs' logo...
well, I need to know how to place that on my windows...using the code in main.cpp (I supplied) or step-by-step HOW-to
I can't seem to find how to do this...I hate the default icon there...yuk.