BBC BASIC for Windows
General >> General Board >> *REFRESH
http://bb4w.conforums.com/index.cgi?board=general&action=display&num=1461531655
*REFRESH
Post by Ric on Apr 24th, 2016, 9:00pm
I have come across a severe flicker problem in my 3d imagery. It would appear that "InvalidateRect" does not refresh the screen but only the DIB section update. Does anyone know how to *REFRESH from assembler, possibly using CALL "oscli" ?
Yours hoping
Ric
Re: *REFRESH
Post by Ric on May 5th, 2016, 08:32am
Found the answer.
SYS "UpdateWindow", @hwnd%
Or
Push hwnd%
Call "UpdateWindow"
Works beautifully and flicker free.