Making a form always on top (but just for the application)


I've got an application that I am writing for a customer that has need of a toolbar that is always showing as long as they are on the application.  The base application itself is an MDI forms project but the window does not have to be an MDI child.  I've currently got the toolbar as a standalone form and have code to make it "always on top".. but all of the code I have found makes it "always on top" of everything.

TIA

-M
LVL 6
MELeBlancAsked:
Who is Participating?
 
EDDYKTConnect With a Mentor Commented:
just use


form1.show 0, frmmain


where form1 is the form you want to show
frmmain is your mdi form (not mdi child)
0
 
MELeBlancAuthor Commented:
In all my years of VB programming I have never used that parameter in the show method.... now I know what I can use it for..  ;-)

Thanks!

-M
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.