What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] WM_DROPFILES and DragQueryFile

[?] WM_DROPFILES and DragQueryFile
Author: Message:
roflmao456
Skinning Contest Winner
****

Avatar

Posts: 955
Reputation: 24
29 / Male / Flag
Joined: Nov 2006
Status: Away
O.P. [?] WM_DROPFILES and DragQueryFile
how do i use these both together?

i can't seem to get it working

code:
function OnEvent_Initialize(){
var Wnd = MsgPlus.CreateWnd("windows.xml","dragdrop");
Wnd.RegisterMessageNotification(WM_DROPFILES);
Interop.Call("shell32","DragAcceptFiles",Wnd.handle,true);
}

function OndragdropEvent_MessageNotification(PlusWnd, Message){
switch(Message){
case WM_DROPFILES:
Debug.Trace(Interop.Call("shell32","DragQueryFile",0,0xFFFFFFFF,null,0));
break;
}
}

This post was edited on 08-09-2007 at 03:23 AM by roflmao456.
[quote]
Ultimatess6
: What a noob mod
08-09-2007 03:23 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] WM_DROPFILES and DragQueryFile - by roflmao456 on 08-09-2007 at 03:23 AM
RE: [?] WM_DROPFILES and DragQueryFile - by Matti on 08-09-2007 at 07:11 AM
RE: [?] WM_DROPFILES and DragQueryFile - by roflmao456 on 08-09-2007 at 05:44 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