corgano Posted January 25, 2010 Share Posted January 25, 2010 I have this script:$INTERNAL_USER32_DLL = DllOpen("user32.dll") Local $mPos = MouseGetPos (), $hWndUnder = DllCall($INTERNAL_USER32_DLL, "hwnd", "WindowFromPoint", "long", $mPos[0], "long", $mPos[1]) ;this will get you the handle, from mats window finder tool $ID = _WinAPI_GetDlgCtrlID($hWndUnder[0]) ;this will get you the IDThis will return the ID of any control, the problem is that if you have a control in a group ctrl then it only returns the group ctrl ID, not the controls it holds. How do I get the ID of a control in a group? 0x616e2069646561206973206c696b652061206d616e20776974686f7574206120626f64792c20746f206669676874206f6e6520697320746f206e657665722077696e2e2e2e2e Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now