What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [HELP] Get cursor position (X, Y) & set window position (X, Y)

[HELP] Get cursor position (X, Y) & set window position (X, Y)
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. RE: [HELP] Get cursor position (X, Y) & set window position (X, Y)
What  mean is: Plus! opens a window with the commands at the cursor's position in the typing area, as soon as "/" is typed (as long as its character index ix 0). I'd like to do the same (using OnEvent_ChatWndEditKeyDown). Here for, I need the cursor's X and Y position. Is there a way to get it? I think it'd be something like this:
code:
Interop.Call(DllName,"GetCursorPos",ChatWnd.Handle);
//DllName is probably the name of some system DLL like User32.dll or something


This post was edited on 05-15-2008 at 04:32 PM by SmokingCookie.
05-15-2008 04:29 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 04:11 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by Matti on 05-15-2008 at 04:21 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 04:29 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by Volv on 05-15-2008 at 04:31 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 04:33 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by Matti on 05-15-2008 at 04:38 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 04:42 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by Matti on 05-15-2008 at 05:53 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 07:25 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by matty on 05-15-2008 at 07:59 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-15-2008 at 08:07 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by matty on 05-15-2008 at 09:16 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-16-2008 at 02:55 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by mynetx on 05-16-2008 at 03:10 PM
RE: [HELP] Get cursor position (X, Y) & set window position (X, Y) - by SmokingCookie on 05-16-2008 at 03:13 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On