Add ahk_hwnd to work with hidden windows Topic is solved

Propose new features and changes
tmplinshi
Posts: 1604
Joined: 01 Oct 2013, 14:57

Add ahk_hwnd to work with hidden windows

Post by tmplinshi » 16 Sep 2020, 01:45

When using commands like WinGetTitle/WinMove, there is no need to turn on DetectHiddenWindows if you have the hwnd.

It would be very useful to have a ahk_hwnd similar to ahk_id, but does not require you to turn on DetectHiddenWindows.
lexikos
Posts: 9592
Joined: 30 Sep 2013, 04:07
Contact:

Re: Add ahk_hwnd to work with hidden windows  Topic is solved

Post by lexikos » 16 Sep 2020, 22:30

That would be entirely redundant (in v2).
The WinTitle parameter of various functions can now accept a HWND (must be a pure integer) or an object with a Hwnd property, such as a Gui object. DetectHiddenWindows is ignored in such cases.
tmplinshi
Posts: 1604
Joined: 01 Oct 2013, 14:57

Re: Add ahk_hwnd to work with hidden windows

Post by tmplinshi » 17 Sep 2020, 00:30

Thanks lexikos. That's a nice feature of v2.
Post Reply

Return to “Wish List”