What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help]Message notification

[help]Message notification
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [help]Message notification
&H3 is the Visual Basic way of displaying a hex value. &H3 is the equivalent of 0x3.

To get the hiword and lowords from a number use these

Javascript code:
/*
    Name:   lobyte
    Purpose:    Retrieves the lobyte from a value
    Parameters: w - the value to get the lobyte from
    Return: lobyte of the w parameter
*/

function lobyte(w){ return w & 0xff; }
 
/*
    Name:   hibyte
    Purpose:    Retrieves the hibyte from a value
    Parameters: w - the value to get the hibyte from
    Return: hibyte of the w parameter
*/

function hibyte(w){ return w >> 8; }
 
/*
    Name:   makeword
    Purpose:    Creates a WORD value by concatenating the specified values.
    Parameters: a - Specifies the low-order byte of the new value.
                b - Specifies the high-order byte of the new value.
    Return: The return value is a WORD value.
*/

function makeword(a,b){ return a | (b << 8); }



And for your last question you would do something like this

Javascript code:
function OnWindowEvent_MessageNotification(pPlusWnd, nMessage, wParam, lParam){
    switch(nMessage){
        case WM_MOVE:
            /*
                your code here
            */

    }
}


This post was edited on 02-06-2009 at 06:44 PM by matty.
02-06-2009 05:52 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help]Message notification - by DaAniv on 02-06-2009 at 04:13 PM
RE: [help]Message notification - by matty on 02-06-2009 at 05:52 PM
RE: [help]Message notification - by Matti on 02-06-2009 at 06:21 PM
RE: [help]Message notification - by DaAniv on 02-06-2009 at 06:28 PM
RE: [help]Message notification - by matty on 02-06-2009 at 06:43 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