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

Thread: icon for exe

  1. #1
    Join Date
    Apr 1999
    Posts
    4

    icon for exe

    hello,

    do you have a solution ?
    I try to customize icon's exe to my project.
    Now, i have 2 icon in \res directory :
    IDR_MAINFRAME (res\mfc.ico) and IDI_MY_ICON res\my_icon.ico. And i would like to build my .exe
    not with IDR_MAINFRAME but with IDI_MY_ICON.
    However, the project builds by default with IDR_MAINFRAME !
    So, How can i do ?

    thinks as an advance


  2. #2

    Re: exe for icon

    In your RC file you will find the line:

    IDR_MAINFRAME ICON DISCARDABLE "res\\mfc.ico"

    Change that line to this:

    IDR_MAINFRAME ICON DISCARDABLE "res\\my_icon.ico"


    LA Leonard - Definitive Solutions, Inc.

  3. #3
    Join Date
    Apr 1999
    Posts
    4

    Re: exe for icon

    okey, all is right. Think you.

    Is it possible to force my project to build with
    IDI_MY_ICON, by default, and not with IDR_MAINFRAME ?

    Please, do you know another url where we can
    discuss about MFC, Visual C++ ... ?

    pegase
    :-)))))


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