Thread: Loading custom icons

  1. #1
    Registered User
    Join Date
    Jan 2005

    Loading custom icons

    With this 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
    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, 11: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, 01:48 PM
  5. Loading Screen
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-06-2002, 11:48 PM