1. Triggering an entire window repaint
- Posted by David Alan Gay <moggie at INTERLOG.COM> Jul 23, 2000
- 419 views
------=_NextPart_000_000B_01BFF45E.55041FA0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Greetings :) I've been using David Cuny's wonderful WIN32LIB to program Euphoria = programs under the Windoze environment. After a few halting steps, I've = managed to figure out how the basics of David's toolkit, but I have a = question. I know how to repaint an area of a program window when an overlaying = window above is removed. However, there are some situations where I'd = like to repaint that entire window instead of just the covered area, = particularly if some status text must be printed on the covered window. = I've found that if you reprint a status line that was previously covered by the window, a = change in that status line will only show in the area previously covered, not the entire window. I have example .JPGs of what I mean if clarification is required. Thanks for any assistance offered. David Gay ------=_NextPart_000_000B_01BFF45E.55041FA0 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Greetings :)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I've been using David Cuny's wonderful = WIN32LIB to=20 program Euphoria programs under the Windoze environment. After a few = halting=20 steps, I've managed to figure out how the basics of David's toolkit, but = I have=20 a question.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I know how to repaint an area of a = program window=20 when an overlaying window above is removed. However, there are some = situations=20 where I'd like to repaint that entire window instead of just the covered = area,=20 particularly if some status text must be printed on the covered window. = I've=20 found that if you</FONT></DIV> <DIV><FONT face=3DArial size=3D2>reprint a status line that was = previously covered=20 by the window, a change in that status line will only</FONT></DIV> <DIV><FONT face=3DArial size=3D2>show in the area previously covered, = not the entire=20 window.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I have example .JPGs of what I mean if=20 clarification is required.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Thanks for any assistance = offered.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>David Gay</FONT></DIV> ------=_NextPart_000_000B_01BFF45E.55041FA0--
2. Re: Triggering an entire window repaint
- Posted by David Cuny <dcuny at LANSET.COM> Jul 23, 2000
- 412 views
David Alan Gay wrote: > I'd like to repaint that entire window Use repaintWindow() to trigger that. It invalidates the entire window (so you can paint any part you want), and then triggers a repaint. -- David Cuny
3. Re: Triggering an entire window repaint
- Posted by David Alan Gay <moggie at INTERLOG.COM> Jul 23, 2000
- 425 views
Hi David. Good work on Win32Lib :) Actually that was one of the things I did. I placed repaintWindow() inside the onPaint[] procedure to be retriggered but ended up with a general protection fault. It's possible that occured because I did an recursive call to the procedure. I'll experiment further with the placement of repaintWindow() and let you know how it goes. Once again, keep up the good work and keep adding things to Win32lib :) ----- Original Message ----- From: "David Cuny" <dcuny at LANSET.COM> To: <EUPHORIA at LISTSERV.MUOHIO.EDU> Sent: Sunday, July 23, 2000 10:20 AM Subject: Re: Triggering an entire window repaint > David Alan Gay wrote: > > > I'd like to repaint that entire window > > Use repaintWindow() to trigger that. It invalidates the entire window (so > you can paint any part you want), and then triggers a repaint. > > -- David Cuny >