get_active_window


handle get_active_window()

This function obtains the handle of the active window associated with the calling thread.

Return

handle

null An error occurred.
Other The handle of the active window associated with the calling thread.