Alaska Software Inc. - Express++ and Paint method
Username: Password:
AuthorTopic: Express++ and Paint method
PhilJackson Express++ and Paint method
on Wed, 08 Sep 2010 16:15:56 +1200
I have a screen on which I am using Gra commands to draw text in 
proportional fonts so I can mix and match different lines of text which 
can have between 1 and about 10 columns of data.

In the EVAL statement of the DCREAD I am putting into the O:Paint 
call-back slot, a reference to my routine to redraw the screen.

This works when the first screen is drawn when there is a delay in 
painting the vertical button bar. When the button bar is drawn, the 
paint method is called and the screen is repainted.

But if I drag a DOS Command box across this screen, only the DCSAYs are 
redisplayed - the Paint method is not called.

What's the best and easiest way of forcing a repaint in this situation?

Interestingly, if I click on another application that is full screen, 
the repaint works properly. It is only a problem if the other window is 
not full screen.

Cheer

Phil Jackson