Picture Box Controls

This is a discussion on Picture Box Controls within the Windows Programming forums, part of the Platform Specific Boards category; Does anyone know where i can find an example of how to use a Picture Box Control within a DialogBox? ...

  1. #1
    Registered User ventolin's Avatar
    Join Date
    Jan 2004
    Posts
    92

    Question Picture Box Controls

    Does anyone know where i can find an example of how to use a Picture Box Control within a DialogBox?

    Thanks in advance.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    They're just static controls with either the SS_ICON or SS_BITMAP styles. To set/change the image dynamically, send an STM_SETIMAGE message to the control.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 02-13-2008, 02:59 PM
  2. Getting data from Dialog Box Controls
    By jmd15 in forum Windows Programming
    Replies: 2
    Last Post: 08-05-2005, 05:56 PM
  3. How to program a "back" button with MFC
    By 99atlantic in forum Windows Programming
    Replies: 3
    Last Post: 04-26-2005, 09:34 PM
  4. Embedding Objects into Picture Controls
    By Capsher Codah in forum Windows Programming
    Replies: 1
    Last Post: 03-05-2005, 09:38 PM
  5. New Theme
    By XSquared in forum A Brief History of Cprogramming.com
    Replies: 160
    Last Post: 04-01-2004, 08:00 PM

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