BBC BASIC for Windows
« *REFRESH »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:45pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: *REFRESH  (Read 413 times)
Ric
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 136
xx *REFRESH
« Thread started 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
User IP Logged

It's always possible, but not necessarily how you first thought. Chin up and try again.
Ric
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 136
xx Re: *REFRESH
« Reply #1 on: May 5th, 2016, 08:32am »

Found the answer.

SYS "UpdateWindow", @hwnd%
Or

Push hwnd%
Call "UpdateWindow"

Works beautifully and flicker free.
User IP Logged

It's always possible, but not necessarily how you first thought. Chin up and try again.
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls