|
Question : Make minimized application window visible
|
|
If the application window of an instance of Access is minimized, how can you make the application window visible to the user via automation?
|
|
Answer : Make minimized application window visible
|
|
Hello,
> "[...] bring it to the foreground" You didn't ask for that ;)
Quick hack version: appACC.RunCommand acCmdAppMinimize appACC.RunCommand acCmdAppRestore
Cleaner:
Declare Function AppActivate Lib "user32" Alias "SetForegroundWindow" (ByVal hwnd As Long) As Long
varHw = AppActivate(appACC.hWndAccessApp) appACC.RunCommand acCmdAppRestore
Cheers! (°v°)
|
|
|