Hoe te detecteren of het schermtoetsenbord zichtbaar is
U kunt de WinAPI-functie IsWindowVisible gebruiken.
Voor Visual Basic ziet het er zo uit:
Dim hWnd As Long
hWnd = FindWindow("TMainKeyboardForm", vbNullString)
If (IsWindowVisible(hWnd)) Then ........