local aliencore = alien.core local user32 = aliencore.load("user32.dll") local topmost = user32.GetWindowLong topmost:types{ret='long',abi='HWND','int'} --It is't work on this sentence local hw = acGetWindowByPoint(gsx, gsy) local top = topmost(hw , GWL_EXSTYLE) if top == WS_EX_TOPMOST then acMessageBox("top most", "top or not", nil) else acMessageBox("not top most", "top or not", nil) end
I didn't know lua, these were the best what I could do. |