Disappering buttons

new topic     » goto parent     » topic index » view thread      » older message » newer message

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).  =

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu