Owner draw button with bitmap

This is a discussion on Owner draw button with bitmap within the Windows Programming forums, part of the Platform Specific Boards category; Ok, when I have an owner draw button, if it also has the BS_BITMAP style how do I add the ...

  1. #1
    Semi n00b Mithoric's Avatar
    Join Date
    Jun 2003
    Posts
    293

    Owner draw button with bitmap

    Ok, when I have an owner draw button, if it also has the BS_BITMAP style how do I add the bitmap to it?

    I mean, actually draw the bitmap on, not sending the message to set the image.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,699
    Use BS_OWNERDRAW style (alone) and read up on WM_DRAWITEM notification.

    gg

  3. #3
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,699
    Here's a great place to look around.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. BN_CLICKED, change button style
    By bennyandthejets in forum Windows Programming
    Replies: 13
    Last Post: 07-06-2010, 12:42 AM
  2. Replace button with a bitmap
    By Swarvy in forum Windows Programming
    Replies: 10
    Last Post: 09-12-2008, 12:43 PM
  3. Replies: 2
    Last Post: 06-28-2008, 09:30 PM
  4. Problems defining classes
    By esmeco in forum C++ Programming
    Replies: 47
    Last Post: 10-24-2007, 02:13 PM
  5. OpenGL -- Bitmaps
    By HQSneaker in forum Game Programming
    Replies: 14
    Last Post: 09-06-2004, 05:04 PM

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