Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Making a mdichild topmost in vb6

Status
Not open for further replies.

vishalmarya

Programmer
Aug 19, 2001
28
0
0

i want to make a form ( mdichild=true ) as top most form in my application.
even if any other mdichild form is loaded , this topmost form should not hide.

i am using the api function , but no success ,

SetWindowPos Me.hWnd, HWND_TOPMOST, 0, 0, 100, 100, SWP_NOACTIVATE

Any Suggestions.

 
It will work if it isn't an mdi child. You will need to handle minimise and maximise yourself.
 


thanks petermeachem , its working .

i am using SWP_NOACTIVATE . still the focus shifts from the other form. this top most windows only contain labels and don't have a title bar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top