From: Bob on 16 Mar 2010 18:45 I know there is a function to send child form windows to the back of an app's 'local' Z-order. And there's an easy way to send them to the -front- of the global Z-order. But is there any way to send them to the back of the global Z-order? In other words, place the form windows behind all other currently active windows?
From: Peter Duniho on 16 Mar 2010 23:04 Bob wrote: > I know there is a function to send child form windows to the back of > an app's 'local' Z-order. And there's an easy way to send them to the > -front- of the global Z-order. > > But is there any way to send them to the back of the global Z-order? > In other words, place the form windows behind all other currently > active windows? Not in .NET, no. You would have to use the unmanaged API (for example, via p/invoke). Pete
From: Bob on 17 Mar 2010 15:16 On Tue, 16 Mar 2010 20:04:16 -0700, Peter Duniho <no.peted.spam(a)no.nwlink.spam.com> wrote: >Bob wrote: >> I know there is a function to send child form windows to the back of >> an app's 'local' Z-order. And there's an easy way to send them to the >> -front- of the global Z-order. >> >> But is there any way to send them to the back of the global Z-order? >> In other words, place the form windows behind all other currently >> active windows? > >Not in .NET, no. You would have to use the unmanaged API (for example, >via p/invoke). > >Pete Thanks. I found some info on SetWindowPos at pinvoke.net. Odd results at times but workable.
|
Pages: 1 Prev: anonymous method Next: Need .Net developer Urgently in Hyderabad. |