Home All Groups Group Topic Archive Search About

Hide Window form (top most)

Author
11 Jan 2006 6:05 AM
saquibirfan
Hi...
need help regarding window form...
i create a progress bar for excel sheet... n i made it top most, but
the problem is it top most for all running application.
i want to make it top most only for excel sheet...
thank you

Author
11 Jan 2006 7:27 AM
Peter Proost
Maybe you can try  .BringToFront() instead of topmost

hth Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

<saquibir***@gmail.com> schreef in bericht
Show quoteHide quote
news:1136959527.955070.312790@g44g2000cwa.googlegroups.com...
> Hi...
> need help regarding window form...
> i create a progress bar for excel sheet... n i made it top most, but
> the problem is it top most for all running application.
> i want to make it top most only for excel sheet...
> thank you
>
Author
11 Jan 2006 9:46 AM
saquibirfan
hi peter
thanks for ur reply!!!
i tried it,but it hide when i opened another application...
it works only if Excel sheet is opened, if i change or move to some
another application than its not work......
Peter Proost wrote:
Show quoteHide quote
> Maybe you can try  .BringToFront() instead of topmost
>
> hth Greetz Peter
>
> --
Author
11 Jan 2006 10:04 AM
Cor Ligthert [MVP]
> thanks for ur reply!!!
> i tried it,but it hide when i opened another application...
> it works only if Excel sheet is opened, if i change or move to some
> another application than its not work......

For which the users of your software will not ask to sent you to hell (not
really), I always become mad (Pieter not needed to reply I know what you
want to say) when I use something that has a behaviour that it does not go
automaticly to the background when I want to search some information on
Internet.

Just my thought,

Cor
Author
11 Jan 2006 10:54 AM
Peter Proost
Hi isn't that the behavior you asked?

>the problem is it top most for all running application.
>i want to make it top most only for excel sheet...

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

<saquibir***@gmail.com> schreef in bericht
Show quoteHide quote
news:1136972761.698383.39510@g43g2000cwa.googlegroups.com...
> hi peter
> thanks for ur reply!!!
> i tried it,but it hide when i opened another application...
> it works only if Excel sheet is opened, if i change or move to some
> another application than its not work......
> Peter Proost wrote:
> > Maybe you can try  .BringToFront() instead of topmost
> >
> > hth Greetz Peter
> >
> > --
>
Author
11 Jan 2006 10:24 AM
Armin Zingler
<saquibir***@gmail.com> schrieb
> Hi...
> need help regarding window form...
> i create a progress bar for excel sheet... n i made it top most, but
> the problem is it top most for all running application.
> i want to make it top most only for excel sheet...
> thank you
>

No ready-to-use solution, but maybe this helps:
http://msdn.microsoft.com/library/en-us/winui/winui/windowsuserinterface/windowing/windows/windowfeatures.asp?frame=true#relationships

(click on "Window Relationships" again)

Armin