Thread: Always On Top??
View Single Post

  #2 (permalink)  
Old 11-15-2004
Milo Milo is offline
Junior Member
White Belt
 
Join Date: Oct 2004
Posts: 10
Send a message via MSN to Milo Send a message via Yahoo to Milo
I have solved this by putting
SetWindowPos Me.hwnd, HWND_NOTTOPMOST, 0, 0, 0, 0, _
SWP_NOACTIVATE Or SWP_SHOWWINDOW Or SWP_NOMOVE Or SWP_NOSIZE

at the end of form_load. I have done a search for SetWindowPos throughout my whole project and there is nothing that sets the map form to the front?!!? I would still be interested to see if anyone has any comments on this though.

Regards,
Milo
__________________
=========
Milo
Reply With Quote