My pleasure, Sir!
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Announcement
Collapse
No announcement yet.
CONTROL SET IMAGE
Collapse
X
-
Guest repliedThat worked fine the program ran over night and the IMAGE(s) keep updating.
Ta
------------------
David Prinold
Leave a comment:
-
Guest repliedThanks I'll try that
------------------
David Prinold
Leave a comment:
-
You are likely to be running out of resources as CONTROL SET IMAGE DOES NOT release the old image - you have to handle it yourself with a couple of lines of code.
Code:CONTROL SEND CBHNDL, %CONTROLID, %STM_GETIMAGE, %IMAGE_BITMAP, 0 TO hBmp& CONTROL SET IMAGE CBHNDL, %CONTROLID, "#imageid" DeleteObject hBmp
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
CONTROL SET IMAGE
Hi
I have a little program updating some DDT controls via the CONTROL SET IMAGE command about 4 per second after about 3-4 minutes the images stop updating but the program continues fine including some CONTROL SET TEXT commands.
Any ideas?
-------------
David PrinoldTags: None
Leave a comment: