Exsus
asked on
Restore an Application
Hi,
I'm trying to restore an application from a minimized state, but when I do this the app shutsdown?!?!?!
The code I use is:
Private Declare Function ShowWindow Lib "user32" (ByVal lhWnd As Long, _
ByVal nCmdShow As Long) As Long
ShowWindow lhWnd, SW_RESTORE
What am I doing wrong?
I also use SetForegroundWindow and this works fine with this window.
Thanks.
I'm trying to restore an application from a minimized state, but when I do this the app shutsdown?!?!?!
The code I use is:
Private Declare Function ShowWindow Lib "user32" (ByVal lhWnd As Long, _
ByVal nCmdShow As Long) As Long
ShowWindow lhWnd, SW_RESTORE
What am I doing wrong?
I also use SetForegroundWindow and this works fine with this window.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.