[futurebasic] Windows keep drawing twice (WDEF)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: Mark Goodes <wave@...>
Date: Sat, 14 Mar 1998 18:15:58 -0500
In the WDEF I'm writing, the window's structure region always gets draws
twice.  When I put a DELAY statement at the end of the draw routine, each
window had been drawn correctly on the first pass through; the second pass
was entirely redundant.

Also, when I put in a BEEP statement to check which message was being sent,
it turned out that the _wHitMsg was repeatedly being sent, even if the
mouse had not been pressed and the window had only been freshly drawn.

Maybe someone can help me fix or work around both these problems.  TIA.

____________
wave (Toronto, Canada)
Much better at "OOPS!" programming than OOP programming.