1. Disappering buttons
- Posted by Michael Sabal <mjs at OSA.ATT.NE.JP> Sep 12, 1998
- 492 views
<ignore all chatter about pet peeves, types, and rude jokes> Working with Win32Lib alpha-11, I seem to have a small problem. Maybe = I'm doing something wrong, or has anyone else noticed it? When I have a = page that makes dynamically created buttons visible, ALL the buttons on = my page play hide-and-seek. Sometimes they're there, and sometimes not. = I have a setVisible(~~,1) in my onPaint routine for each button. And = when they are invisible, moving the window (there's only one) or pulling = down a menu causes them to reappear. And it only happens with the one = page. Other pages without buttons have no problem. And why would a = Windows Paint event be okay, but repaintWindow(mainWin) not? Any clues? = If you need the source code for eWinHelp (the culprit), let me know and = I'll post it on my homepage tomorrow or Monday (pre-alpha, of course). =20 In Christ, Michael J. Sabal mjs at osa.att.ne.jp http://home.att.ne.jp/gold/mjs/
2. Disappering buttons
- Posted by Ad Rienks <Ad_Rienks at COMPUSERVE.COM> Sep 16, 1998
- 445 views
Michael Sabal wrote about buttons Well, I encountered a similar problem. A messagebox that should appear an= d then disappear again, seemed to be sliding off to the right corner of the= window, when a new one should come up in the same place. I tried repaintWindow, but that didn=B4t help either. Even after closing the prog= ram and then opening it again, the messagebox stayed there. Ad Original message Working with Win32Lib alpha-11, I seem to have a small problem. Maybe I'= m doing something wrong, or has anyone else noticed it? When I have a page= that makes dynamically created buttons visible, ALL the buttons on my pag= e play hide-and-seek. Sometimes they're there, and sometimes not. I have = a setVisible(~~,1) in my onPaint routine for each button. And when they ar= e invisible, moving the window (there's only one) or pulling down a menu causes them to reappear. And it only happens with the one page. Other pages without buttons have no problem. And why would a Windows Paint eve= nt be okay, but repaintWindow(mainWin) not? Any clues? If you need the source code for eWinHelp (the culprit), let me know and I'll post it on m= y homepage tomorrow or Monday (pre-alpha, of course). =
3. Re: Disappering buttons
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Sep 16, 1998
- 448 views
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BDE1B0.28B967D8 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ad wrote: > Well, I encountered a similar problem. A messagebox that=20 > should appear and then disappear again, seemed to be sliding=20 > off to the right corner of the window, when a new one should=20 > come up in the same place. I tried repaintWindow, but that=20 > didn=B4t help either. Even after closing the program and then=20 > opening it again, the messagebox stayed there. I'm not sure *exactly* what you are describing, but send me the code = at: dcuny at lanset.com and I'll take a look at it.=20 I don't know why my reply to Michael disappeared, but I've asked him to = send me a copy of his code, as well. Thanks! -- David Cuny ------_=_NextPart_001_01BDE1B0.28B967D8 charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 5.5.2232.0"> <TITLE>RE: Disappering buttons</TITLE> </HEAD> <BODY> <P><FONT SIZE=3D2>Ad wrote:</FONT> </P> <P><FONT SIZE=3D2>> Well, I encountered a similar problem. A = messagebox that </FONT> <BR><FONT SIZE=3D2>> should appear and then disappear again, seemed = to be sliding </FONT> <BR><FONT SIZE=3D2>> off to the right corner of the window, when a = new one should </FONT> <BR><FONT SIZE=3D2>> come up in the same place. I tried = repaintWindow, but that </FONT> <BR><FONT SIZE=3D2>> didn=B4t help either. Even after closing the = program and then </FONT> <BR><FONT SIZE=3D2>> opening it again, the messagebox stayed = there.</FONT> </P> <P><FONT SIZE=3D2>I'm not sure *exactly* what you are describing, but = send me the code at:</FONT> </P> <P> <FONT = SIZE=3D2>dcuny at lanset.com</FONT> </P> <P><FONT SIZE=3D2>and I'll take a look at it. </FONT> </P> <P><FONT SIZE=3D2>I don't know why my reply to Michael disappeared, but = I've asked him to send me a copy of his code, as well.</FONT> </P> <P><FONT SIZE=3D2>Thanks!</FONT> </P> <P><FONT SIZE=3D2>-- David Cuny</FONT> </P> </HTML> ------_=_NextPart_001_01BDE1B0.28B967D8--