Page 1 of 1

Posted: Sat Feb 15, 2003 5:52 am
by BackupUser
Restored from previous forum. Originally posted by ricardo.

Hi,

Im painting some boxes in my window

Code: Select all

StartDrawing(WindowOutput())
  Box(posx,posy,7,7,0)
StopDrawing() 
And having some WebGadget on the same window but in other area
i tried to use this code to erase the boxes painted (refresh or repaint the window)

b.RECT
b\right=WindowWidth()
b\bottom=WindowHeight()
InvalidateRect_(WindowID(),@b,1)
sendmessage_(WindowID(),#WM_PAINT,0,0)

But find the next troubles:

1.- All the window 'jumps'
2.- My webgadget dissapears

I know i can upadte the webgadget, but im looking for another way to achieve my job

In VB i can refresh the window without any jumps in a very similar situation ¿how can i do it in PB?




Best Regards

Ricardo

Dont cry for me Argentina...