How to tell if a window is minimized or not.
Posted on 2004-04-07
I am making a program that is used for sendkeys. I can appactivate the window I want but it does't actually type if the window is minimized. Is there a way I can check if it is minimized? The code is posted below. I am not using notepad. It is just there for example. Thanks.
Private Sub LoadInfo_Click()
AppActivate ("Untitled - Notepad")
' I need to check here if it is minimized or not. If not, the keys will not be sent right.