Click to See Complete Forum and Search --> : How to change the icon of the VC++ application exe??


May 14th, 1999, 06:04 PM
Hi,

How to change the icon of VC++ application exe??

Thanx in advance.
NMNB

May 14th, 1999, 07:09 PM
Go to ResourceView, click 'Icon' under your project name, open the icon in resource editor and start changing it...

May 17th, 1999, 10:51 AM
Hi,

My question was how to customize the default VC++ Application(exe file) Icon?

Tonio
May 18th, 1999, 03:45 AM
Hi! I found these steps from this board, I have'nt tried this yet though
1. Create a member variable of HICON type in your MainFrm.h file.
2. Create a new icon resource using the resource editor given by the Visual Studio.
3. Load the icon into memory using function LoadIcon() in the OnCreate() handler in MainFrm.cpp file .
4. Once you get a handle to this icon, in the same OnCreate() handler, use function SetIcon() to set the new Application Icon.

May 18th, 1999, 10:48 AM
I guess ur solution refers to SDI/MDI application.But my application is dialog based application.How do I go about??