whats wrong with this?
[html]Public Function PutWindowOnTop(pFrm As Form)
Dim lngWindowPosition As Long LngWindowPosition = SetWindowPos(pFrm.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)[/html]


it says error.
im using vb 6...
thanks!
Dim lngWindowPosition As Long LngWindowPosition = SetWindowPos(pFrm.hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE Or SWP_NOSIZE)[/html]


it says error.
im using vb 6...
thanks!