Only above the forms in your app, or above all application windows? Jerry's
SetWindowPos solution will do the latter ... if you only need it overtop
your app, use the owner parameter of the show method:
frmWhatever.Show vbModeless, frmMain
The frmWhatever will now "follow" frmMain if minimized or restored, yet
remain on-top but non-modal allowing interaction with the underlying forms.
--
Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
"Gord" <x1******@telus.net> wrote in message
news:0aBsc.14950$g71.287@clgrps13...
: Hello,
:
: Can somebody point me in the righ direction? I'm trying to keep a custom
: dialog box 'on top' and visible above all other forms, even though it is
: modeless. I'm trying to make it behave just like the 'Find' dialog works
: within the VB 6 IDE. Even if your scrolling or typing on something else,
: the 'Find' dialog remains on top and visible (although it has lost focus).
: Using the 'Show' method for the form/dialog won't allow you to work on
: another form.
:
: Thanks,
:
: Gord
:
: