This is an English language forum. Please re-post in English
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
I notice that you haven't marked any of the answers given as helpful. Check out faq222-2244 to see how to get better answers. If you have found the answers helpful, see faq222-2244 to see how to acknowledge them.
For this question:
[tt]
Form1.Show vbModal
[/tt]
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
Private Declare Function SetWindowPos Lib "user32" _
(ByVal hwnd As Long, _
ByVal hWndInsertAfter As Long, _
ByVal x As Long, _
ByVal y As Long, _
ByVal cx As Long, _
ByVal cy As Long, _
ByVal wFlags As Long) As Long
Private Sub Form_Load()
'note the use of me.hwnd to ensure that the
'call is attacking the right window!
Call SetWindowPos(Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS)
End Sub
[/tt]
POSTED BY JEFFTULIN IN thread222-470179
Hope this helps.
[tt]"Very funny, Scotty... Now Beam down my clothes."[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.