How do I do for verify if certain form is active? [Edited by Marcelo Velasquez on 06-06-2000 at 08:51 PM]
The blessing of God enriches and it doesn't increase pains
Use the GetActiveWindow API. Code: Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" () As Long
Declare Function GetActiveWindow Lib "user32" Alias "GetActiveWindow" () As Long
Forum Rules