Disappering buttons
- Posted by Michael Sabal <mjs at OSA.ATT.NE.JP> Sep 12, 1998
- 495 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/