CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Guest

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

    Hi,

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

    Thanx in advance.
    NMNB


  2. #2
    Guest

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

    Go to ResourceView, click 'Icon' under your project name, open the icon in resource editor and start changing it...


  3. #3
    Guest

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

    Hi,

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




  4. #4
    Join Date
    Apr 1999
    Location
    Philippines
    Posts
    46

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

    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.






  5. #5
    Guest

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

    I guess ur solution refers to SDI/MDI application.But my application is dialog based application.How do I go about??




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured