hess
asked on
Makeing a form always on top.
I want to have a form that is always ontop... like icq or winamp. how do i do this
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
where do i put this code
How about this ???
SetForegroundWindow(Me.hWn d) 'API call...find it in the help file...
Maybe try putting it in a Timer's OnTimer() event...
SetForegroundWindow(Me.hWn
Maybe try putting it in a Timer's OnTimer() event...
Hess,
put it in your Form_Load, like so
Private Sub Form_Load()
'sets form to be always on top
'SetWindowPos hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
End Sub
hope this helps
put it in your Form_Load, like so
Private Sub Form_Load()
'sets form to be always on top
'SetWindowPos hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
End Sub
hope this helps
ASKER
got it thanx
ASKER