Can anyone help. I need to determine if my form has lost or regained the focus using the win32api.
Printable View
Can anyone help. I need to determine if my form has lost or regained the focus using the win32api.
you can use getactivewindow api to get the active window and determine if its your program or not.