1. Bring window to front

Hi,
Anyone know of a good way to bring a win32lib window to the front (this is when
another application has focus)? setFocus doesn't seem to work, I guess
I could use SetWindowPos to make the window HWND_TOPMOST then set it
back normal, but that's a bit messy...

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » topic index » view message » categorize

2. Re: Bring window to front

Will setVisible work if you first turn the window off then back on again.

Im not certain this will suffice but give it a try..

Euman

----- Original Message -----
From: "Thomas Parslow (PatRat)" <patrat at rat-software.com>
To: "EUforum" <EUforum at topica.com>
Subject: Bring window to front


>
>
> Hi,
> Anyone know of a good way to bring a win32lib window to the front (this is
when
> another application has focus)? setFocus doesn't seem to work, I guess
> I could use SetWindowPos to make the window HWND_TOPMOST then set it
> back normal, but that's a bit messy...
>
> Thomas Parslow (PatRat) ICQ #:26359483
> Rat Software
> http://www.rat-software.com/
> Please leave quoted text in place when replying
>
>
>
>
>
>
>

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

3. Re: Bring window to front

Why are you overriding another program?

I assumed you meant another win32lib program, sorry
that's what happens when someone ass' umes.

Euman

----- Original Message ----- 
From: "Euman" <euman at bellsouth.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Bring window to front


> 
> 
> Will setVisible work if you first turn the window off then back on again.
> 
> Im not certain this will suffice but give it a try..
> 
> Euman
> 
> ----- Original Message -----
> From: "Thomas Parslow (PatRat)" <patrat at rat-software.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Monday, May 21, 2001 08:09
> Subject: Bring window to front
> 
> 
> >
> >
> > Hi,
> > Anyone know of a good way to bring a win32lib window to the front (this is
> when
> > another application has focus)? setFocus doesn't seem to work, I guess
> > I could use SetWindowPos to make the window HWND_TOPMOST then set it
> > back normal, but that's a bit messy...
> >
> > Thomas Parslow (PatRat) ICQ #:26359483
> > Rat Software
> > http://www.rat-software.com/
> > Please leave quoted text in place when replying
> >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> 
> 
>

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

Search



Quick Links

User menu

Not signed in.

Misc Menu