Thread: Image buttons.

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

    Image buttons.

    Hey

    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
    Location
    Toronto
    Posts
    591
    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, 05:17 AM
  2. Replies: 1
    Last Post: 05-27-2009, 01:46 PM
  3. Simple Image Processing
    By ejohns85 in forum C++ Programming
    Replies: 4
    Last Post: 03-19-2009, 01:10 PM
  4. Image rotation - doesn't always work
    By ulillillia in forum C Programming
    Replies: 12
    Last Post: 05-03-2007, 01:46 PM
  5. Replies: 4
    Last Post: 03-02-2003, 09:12 AM
Website Security Test