02-27-2019, 05:49 PM
DS_CENTERMOUSE centers the dialog on the mouse cursor. What I would like however is not the middle of the dialog but the top left corner of the dialog to appear at current cursor location. Is this possible?
Positioning corner of Dialog
|
02-27-2019, 05:49 PM
DS_CENTERMOUSE centers the dialog on the mouse cursor. What I would like however is not the middle of the dialog but the top left corner of the dialog to appear at current cursor location. Is this possible?
02-28-2019, 02:06 AM
try this
Function DialogOpenAtMousePositionExample str dd=
02-28-2019, 06:35 PM
(This post was last modified: 02-28-2019, 06:35 PM by InterestedNewbie.)
Thank you Kevin, this works great!
In addition, is there a way to catch the (blinking) text cursor location(not the mouse pointer) in the currently active application and launch the dialog at that exact spot?
02-28-2019, 09:06 PM
something like this may not be accurate enough
Function DialogOpenAtCursorPositionExample int x y
02-28-2019, 09:26 PM
(This post was last modified: 02-28-2019, 09:26 PM by InterestedNewbie.)
No, sadly this appears to not be reliable enough.
Nevermind, the one with the mouse cursor works great :-) |
« Next Oldest | Next Newest »
|