11-03-2007 11:31 PM
11-04-2007 01:40 AM - edited 11-04-2007 01:42 AM
Hello Shamsan, standard way of dynamically loading an image in a picture control is LoadBitmapFromFile and SetControlBitmap. But in your case in my opinion you have several alternative options available:
11-05-2007 12:20 PM
Hello Roberto,
You wrote "
"
How can I load the images into a picture list and how to display them using SetControl?
Would you please write an example, or the call functions
Thank
11-05-2007 03:59 PM - edited 11-05-2007 04:01 PM
I am sorry, I was intending a Picture Ring control.
Images can be loaded into a picture ring control in the UIR editor: edit the control and use the Image / Value pairs... function to interactively select images and associate values to them. Once thia operation is complete you can simply use SetCtrlVal (panelHandle, PANEL_PICTURERING, value); function to display the appropriate image on the control.
Alternatively, images can be loaded at runtime by using InsertListItem. Loaded images can be selected in the same way as above.
11-06-2007 01:04 PM
11-06-2007 03:52 PM