how do you display bmp's

This is a discussion on how do you display bmp's within the C++ Programming forums, part of the General Programming Boards category; how do you load and display bit map's or other graphic files to the screen. how do you check if ...

  1. #1
    Unregistered
    Guest

    Unhappy how do you display bmp's

    how do you load and display bit map's or other graphic files to the screen. how do you check if a key is beiong pressed.

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    156
    Well the api's for displaying a bitmap are LoadImage or LoadIcon to get a handle to a loaded an icon and DrawIcon using the handle and x,y coordinates and a handle to a device context.

    The WM_KEYDOWN message is posted to the window with keyboard focus when a nonsystem (no alt key) key is pressed.

    For me to make any heads or tells of windows programming I had to read Charles Petzold "Programming Windows 95", you can get used copies at Amazon.com. Having said that, I would recommend Petzold's "Programming Windows fifth edition", its more complete .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. display character size...(quite urgent..)
    By karthi in forum C Programming
    Replies: 10
    Last Post: 07-11-2007, 09:42 PM
  2. new problem with class
    By jrb47 in forum C++ Programming
    Replies: 0
    Last Post: 12-01-2006, 07:39 AM
  3. Help needed Please
    By jereland in forum C Programming
    Replies: 9
    Last Post: 03-18-2004, 04:30 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM
  5. Speeding Up Display Time in CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 0
    Last Post: 04-22-2002, 07:24 PM

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