Loading custom icons

This is a discussion on Loading custom icons within the C++ Programming forums, part of the General Programming Boards category; With this code: Code: winClass.hIcon LoadIcon(HINSTANCE hInst, LPCSTR lpszName); I can load a custom icon through, I'm not sure how ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    11

    Loading custom icons

    With this code:
    Code:
    winClass.hIcon LoadIcon(HINSTANCE hInst, LPCSTR lpszName);
    I can load a custom icon through, I'm not sure how I can do this with dev C++. The book I'm reading doesn't give examples on loading custom icons exactly. If anyone can help me, I'd appreciate a reply. Thanks.

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Dev-C++ supports the Win32 SDK, and that code doesn't appear to be too specialized - it should work. If you'd like to get a little more experienced with Win32 work, check out Forger's Tutorial (very popular- just google for it) - that code should be almost completely Bloodshed-compliant.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cargo loading system
    By kyle rull in forum C Programming
    Replies: 1
    Last Post: 04-20-2009, 12:16 PM
  2. [C] Problem with icons in a toolbar
    By pc2-brazil in forum Windows Programming
    Replies: 3
    Last Post: 12-22-2008, 10:04 PM
  3. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  4. Loading icons from other programs
    By Magos in forum Windows Programming
    Replies: 11
    Last Post: 03-01-2006, 12:48 PM
  5. Loading Screen
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-06-2002, 10:48 PM

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