paperlined.org
apps > autohotkey
document updated 15 years ago, on May 8, 2008
USE THIS to do quick mappings between win32api types and AHK types:
    http://www.autohotkey.com/forum/viewtopic.php?t=12036
    http://www.autohotkey.net/~PhiLho/WindowsDataTypes.txt



; ---- get next/prev/last/first/child/owner windows ----
DllCall("GetWindow"
    , "uint",hwnd
    , "uint",relationship)

    GW_HWNDFIRST = 0
    GW_HWNDLAST = 1
    GW_HWNDNEXT = 2
    GW_HWNDPREV = 3
    GW_OWNER = 4
    GW_CHILD = 5




; ---- modifying another app's menu ----
http://www.autohotkey.com/wiki/index.php?title=Menu_functions

hMenu := Dllcall("GetMenu", "int", hwnd)

Result := DllCall("AppendMenu"
    , "int", hMenu
    , "int", 0                 ;MF_STRING := 0x0
    , "int", IDM_TEST
    , "str", STR_TEST)