Icon Trouble

This is a discussion on Icon Trouble within the Windows Programming forums, part of the Platform Specific Boards category; Bump Threads? Yeah, you're not supposed to say anything like "Anyone know the answer?" just to put your thread higher ...

  1. #16
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Bump Threads?
    Yeah, you're not supposed to say anything like "Anyone know the answer?" just to put your thread higher on the list.

    And what do i do about my problem because I don't know what that is that you just showed me
    This closing parenthesis
    Code:
    MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc);
    should not be there. Get rid of it and see what happens.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #17
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    dwks, the complete line (which bumfluff should have posted) will look something like this:
    Code:
    DialogBox(hInstance, MAKEINTRESOURCE(IDD_ABOUT), hwnd, AboutDlgProc);
    so the closing bracket for MAKEINTRESOURCE is correct.

    The problem is that IDD_ABOUT has not been defined correctly. It must be given a value:
    Code:
    #define IDD_ABOUT 1

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Icon Help
    By The Brain in forum Windows Programming
    Replies: 11
    Last Post: 04-05-2009, 04:06 PM
  2. Custom Icon for DLL
    By Delf in forum Windows Programming
    Replies: 5
    Last Post: 06-10-2005, 08:36 AM
  3. Icon problem
    By mkyong in forum Windows Programming
    Replies: 0
    Last Post: 02-17-2003, 04:39 PM
  4. Icon? help!
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-16-2001, 05:21 PM
  5. icon in title bar?
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 12-12-2001, 05:43 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21