Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

RegisterCallback #17

Open
tinku99 opened this Issue · 0 comments

1 participant

@tinku99

I was trying to translate com.ahk to use with IronAHK.

com.ahk uses RegisterCallback, which fails when I test with _COMPlusExceptionCode = -532459699

EnumWindowsProc(hwnd, lParam)
{
    global Output
    WinGetTitle, title, ahk_id %hwnd%
    WinGetClass, class, ahk_id %hwnd%
    if title
        Output .= "HWND: " . hwnd . "`tTitle: " . title . "`tClass: " . class . "`n"
    return true  ; Tell EnumWindows() to continue until all windows have been enumerated.
}
EnumAddress := RegisterCallback("EnumWindowsProc")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.