Announcement

Collapse
No announcement yet.

CONTROL SET IMAGE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Lance Edmonds
    replied
    My pleasure, Sir!

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • David Prinold
    Guest replied
    That worked fine the program ran over night and the IMAGE(s) keep updating.

    Ta


    ------------------
    David Prinold

    Leave a comment:


  • David Prinold
    Guest replied
    Thanks I'll try that


    ------------------
    David Prinold

    Leave a comment:


  • Lance Edmonds
    replied
    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:


  • David Prinold
    Guest started a topic CONTROL SET IMAGE

    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 Prinold
Working...
X