Thread: icon's fro programs

  1. #1
    Unregistered
    Guest

    Question icon's fro programs

    what do I have to do to bind a .ico file with an exe? any help would be appreciated. Thanks

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    88
    in win 32

    you need to add your icon to the resource.h
    and then
    in the window struct
    you must write the icon id


    for ex.
    wc.hIconSm = LoadIcon(NULL, IDI_ICON1);
    Last edited by GodLike; 04-01-2002 at 06:02 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] Problem with icons in a toolbar
    By pc2-brazil in forum Windows Programming
    Replies: 3
    Last Post: 12-22-2008, 11:04 PM
  2. Recommend upgrade path for C programs
    By emanresu in forum C Programming
    Replies: 3
    Last Post: 11-22-2007, 07:32 AM
  3. Loading icons from other programs
    By Magos in forum Windows Programming
    Replies: 11
    Last Post: 03-01-2006, 01:48 PM
  4. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  5. Adding Icons to your programs
    By Dual-Catfish in forum C++ Programming
    Replies: 6
    Last Post: 01-17-2002, 04:50 PM