What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] WM_MOUSEMOVE doesn't work

[?] WM_MOUSEMOVE doesn't work
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] WM_MOUSEMOVE doesn't work
quote:
Originally posted by SmokingCookie
Well, I've got my own version of ChildWindowFromPoint. But the entire problem is the "tracking WM_MOUSEMOVE": I am not receiving it at all.
That has to be something in your code then.

Attachment is untested as I am at work but let me know.

Not sure if it will work because I think the x and y coordiniates are in relation to the window not the screen. If this is the case then change the subclass routine to

Javascript code:
function OnwndSubclassEvent_MessageNotification(pPlusWnd, nMessage, wParam, lParam) {
    switch (nMessage) {
        case WM_MOUSEMOVE:
            var POINT = Interop.Allocate(8);
            Interop.Call('user32', 'GetCursorPos', POINT);
                           
            var r = Interop.Call('user32', 'ChildWindowFromPointW', pPlusWnd.Handle, POINT);
            if (r !== null)
                Debug.Trace('i r on a control: '+r);
           
            return -1; // Process the message little one
    }
}


.plsc File Attachment: WM_MOUSEMOVE.plsc (1.75 KB)
This file has been downloaded 143 time(s).

This post was edited on 04-20-2010 at 05:23 PM by matty.
04-20-2010 05:19 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-18-2010 at 07:24 AM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-18-2010 at 03:01 PM
RE: RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-18-2010 at 05:50 PM
RE: [?] WM_MOUSEMOVE doesn't work - by CookieRevised on 04-19-2010 at 01:08 AM
RE: RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-19-2010 at 07:12 PM
RE: [?] WM_MOUSEMOVE doesn't work - by CookieRevised on 04-20-2010 at 02:05 AM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 02:10 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 02:52 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 04:08 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 04:25 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 04:32 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 04:41 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 04:43 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 04:46 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 04:50 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 05:19 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 05:23 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 05:24 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-20-2010 at 05:25 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 05:28 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-20-2010 at 09:26 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-21-2010 at 02:58 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-21-2010 at 04:35 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-21-2010 at 05:40 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-21-2010 at 07:38 PM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-22-2010 at 12:27 AM
RE: [?] WM_MOUSEMOVE doesn't work - by CookieRevised on 04-22-2010 at 04:14 AM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-22-2010 at 01:02 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-23-2010 at 11:40 AM
RE: [?] WM_MOUSEMOVE doesn't work - by matty on 04-23-2010 at 11:42 AM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 04-24-2010 at 09:16 AM
RE: [?] WM_MOUSEMOVE doesn't work - by CookieRevised on 04-24-2010 at 01:31 PM
RE: [?] WM_MOUSEMOVE doesn't work - by SmokingCookie on 05-01-2010 at 10:40 AM


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