1. isVisible() when not

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

new topic     » topic index » view message » categorize

2. Re: isVisible() when not

Try right click it on the task bar and click maximize... I've seen it..

george

----- Original Message ----- 
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: isVisible() when not


> 
> 
> 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
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: isVisible() when not

On Mon, 13 Oct 2003 14:24:45 -0400, George Walters
<gwalters at sc.rr.com> wrote:

>
>
>Try right click it on the task bar and click maximize... I've seen it..
Thanks, actually that's rather, erm VERY interesting:
When I right click on the taskbar, all is *instantly* well (before the
pop-up menu is displayed, and therefore obviously before I get the
chance to select maximise). Bizzare thing is, that is *not* true when
I left-click...

I suppose, though, I'd rather not write in the user manual "if the
entire application window suddenly disappears, for no apparent reason,
just right click on the taskbar"   ;-=3D))

Guess I'd better get on with trying to write that example code...

Cheers,
Pete

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu