Zambi
Mar 2nd, 2001, 09:00 PM
How do i show a window? what function do i use.
MPrestonf12
Mar 2nd, 2001, 09:52 PM
windowname.show
example:
form2.show
PatrickCorgan
Mar 2nd, 2001, 10:20 PM
If you want to show a window that your app doesn't own, use the ShowWindow API function
Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Const SW_SHOW = 5
Sub Command1_click()
result = ShowWindow(WindowToShow.hWnd, SW_SHOW)
End Sub
That should work.