Thread: BMP X/Y on Static control?

  1. #1
    Programming is fun, mkay?
    Join Date
    Oct 2001
    Posts
    490

    Question BMP X/Y on Static control?

    I was making a BMP Viewer and I have a Q. I need to know how to get a BMP x/y. I will use LoadImage(). Would I just use GetObject()?
    Website(s): http://www16.brinkster.com/trifaze/

    E-mail: trifaze_mattu@lycos.com

    ---------------------------------
    C++ Environment: MSVC++ 6.0; Dev-C++ 4.0/4.1
    DirectX Version: 9.0b
    DX SDK: DirectX 8.1 SDK

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Yes, use GetObject() to fill a BITMAP struct from the HBITMAP.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do i do this? (static structure inside class)
    By 39ster in forum C++ Programming
    Replies: 4
    Last Post: 11-17-2008, 02:14 AM
  2. Few Questions (Styles, Static Control)
    By Zeusbwr in forum Windows Programming
    Replies: 11
    Last Post: 04-15-2005, 04:13 AM
  3. Problem with a file parser.
    By Hulag in forum C++ Programming
    Replies: 7
    Last Post: 03-17-2005, 08:54 AM
  4. Setting back/foregroundcolor in a static control
    By knutso in forum Windows Programming
    Replies: 7
    Last Post: 07-24-2003, 12:22 AM
  5. WM_SETFONT, Static Control
    By Mecnels in forum Windows Programming
    Replies: 3
    Last Post: 04-30-2003, 12:47 AM