Thread: Image buttons.

  1. #1
    Registered User
    Join Date
    Nov 2006
    under your bed....

    Image buttons.


    Lately I've been working w/ images in dialogs. i can insert images fine but i'm wondering how to make an image act like a button.
    Does anyone know how to do this?

    Thx in advance.

  2. #2
    Registered Abuser
    Join Date
    Jun 2006
    You can specify the BS_ICON style for a button, or simply catch "clicks" for the image child window (either subclass it, or specify SS_NOTIFY for the static image and catch STN_CLICK notifications).

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Replies: 1
    Last Post: 05-27-2009, 12:46 PM
  3. Simple Image Processing
    By ejohns85 in forum C++ Programming
    Replies: 4
    Last Post: 03-19-2009, 12:10 PM
  4. Image rotation - doesn't always work
    By ulillillia in forum C Programming
    Replies: 12
    Last Post: 05-03-2007, 12:46 PM
  5. Replies: 4
    Last Post: 03-02-2003, 09:12 AM