isVisible() when not
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Oct 13, 2003
- 442 views
Has anyone heard of a problem like this? I've opened a window using openWindow(ppwin,SW_SHOWMAXIMIZED), it's worked a couple of [thousand] times but if I shut it and open it again, it is not shown on the screen. isVisible() returns true, it responds to the keyboard, and when I click on the taskbar it triggers a w32HPaint event, but getClientRect() returns {0,0,0,0}. One thing that struck me as odd is that (out of desperation) I tried using showWindow(); I've since learnt you don't get w32HOpen or w32HActivate events going that route, but I could not shut the window. Is that supposed to happen? (I don't use showWindow much, and the docs and source didn't tell me much) It still responded to keyboard events. I'll see if I can knock up an example, I just wanted to know if it triggered any memories. Pete