daxstec Posted July 10, 2011 Share Posted July 10, 2011 Next Problem... I am looking for the answer second day.. The problem is: I use a WinGetHandle function and everything is okey but I think that a window handle is a point A(x,y) but I do not know how to interpret eg. 0xB070C i know that is hexadecimal but what next? My aim is: to move a cursor of mouse about some corrdinance(distance) with respect to window handle. Thank you very much for hints! Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 10, 2011 Share Posted July 10, 2011 (edited) Perhaps the WinGetPos() function can be used here.. Get what I'm saying? I want to help but my brain isn't making words of my thoughts yet (read: not enough coffee yet!) Edited July 10, 2011 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
daxstec Posted July 10, 2011 Author Share Posted July 10, 2011 OK, thank you, I deal with WinGetPos(). Btw. do you know how to interpret a result given by WinGetHandle() ? Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted July 10, 2011 Share Posted July 10, 2011 OK, thank you, I deal with WinGetPos().Btw. do you know how to interpret a result given by WinGetHandle() ?What do you mean "interpret"? A handle is a handle. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
daxstec Posted July 10, 2011 Author Share Posted July 10, 2011 OK, handle is a handle- right, but handle is a hex number and the number is something like a 'pointer' but i do not know if eg. i want to move cursor about some distance with respect to the handle. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 10, 2011 Moderators Share Posted July 10, 2011 daxstec, A Windows handle is a unique ID (in a special format) allocated to every control that Windows uses and needs to keep track of. It has absolutely nothing to do with position - it is purely a unique ID. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
daxstec Posted July 10, 2011 Author Share Posted July 10, 2011 So I was wrong... thank you for your answer Could you help me with from the post I conclude that it works but on my computer does not Regards ! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 10, 2011 Moderators Share Posted July 10, 2011 daxstec, My pleasure again. I have responded to the other thread - although in a rather bemused fashion. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
somdcomputerguy Posted July 10, 2011 Share Posted July 10, 2011 The title that you use with WinGetHandle, use with WinGetPos. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
daxstec Posted July 11, 2011 Author Share Posted July 11, 2011 Yes, I use this function. THanks ! 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