Visual C++ 6.0 Resource Icon ?
I'm pretty new to Visual C++, but proficient in Microsoft 'C'. When using VC++, with a Win 32 App, I am trying to import a 16x16 icon to display at the top left of the top border next to the Application Name. After I import my .ico file as a resource, it is labelled as IDI_ICON1. But, when I put IDI_ICON1 as the argument in LoadIcon(), I get 'undeclared identifier IDI_ICON1'. Any ideas on how to get VC++ to recognize my new icon?
Re: Visual C++ 6.0 Resource Icon ?
Quote:
Originally posted by dodge55
But, when I put IDI_ICON1 as the argument in LoadIcon(), I get 'undeclared identifier IDI_ICON1'. Any ideas on how to get VC++ to recognize my new icon?
How are using IDI_ICON as an argument?
Should be:
MAKEINTRESOURCE(IDI_ICON)