Restored from previous forum. Originally posted by GPI.
ImageID (ImageNr.) would be nice.
Also a
SetGadgetImage(#Gadget,Image)
and a
GetGadgetImage(#Gadget)
would be nice
p.s.: Set Image:
useimage(#image):SendMessage_(GadgetID(#gadget), #STM_SETIMAGE, #IMAGE_BITMAP, ImageID())
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
ImageID() SetGadgetImage()
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by GPI.
But not in the german help...
EDIT: It explanded it the "ImageGadget"-Topic, but not in the ImageButtonGadget or Set/GetGadgetState.
Edit2: UseImage() also return the ImageID(), but it change the current Image(). And WindowID(#nr), GadgetID(#Nr) work...
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB
But not in the german help...
EDIT: It explanded it the "ImageGadget"-Topic, but not in the ImageButtonGadget or Set/GetGadgetState.
Edit2: UseImage() also return the ImageID(), but it change the current Image(). And WindowID(#nr), GadgetID(#Nr) work...
PII 333, 256MB, Asus TNT2Ultra 32MB, AWE Gold 64 4MB