Thread: LoadImage-question

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    60

    LoadImage-question

    So I have this code:
    HBITMAP hbm=LoadImage(NULL,"Filename",IMAGE_BITMAP,
    0,0,LR_LOADFROMFILE);
    // As you can see I want to Load the Bitmap in its original
    // size

    // Is there a possibility to get the width and height with a
    // call like GetWidth(hbm) or GetHeight(hbm)

    // I need to know this for creating a suiting surface.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Read this.
    Here are all Bitmap related functions.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Alice....
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 06-20-2005, 02:51 PM
  2. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  3. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM