What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Disable access to parent chat window when child xml window open

Disable access to parent chat window when child xml window open
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
31 / Male / Flag
Joined: Apr 2004
RE: RE: Disable access to parent chat window when child xml window open
code:
    function OnconfirmEvent_CtrlClicked(Wnd, Id){
    if(Id == "BtnYes"){
        // do other stuff I want it to do, then:
        return Message;
        Wnd.Close(0);
        Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
    }else{
        Wnd.Close(0);
        Interop.Call("user32.dll", "EnableWindow", ChatWnd.Handle, true);
        // do other stuff I want it to do, then:
        return false;
    }
}
Why do you want to return something anyway? The scripting documentation says it doesn't need a return value for the OnWndEvent_CtrlClicked event, so why would you? :P
Other than that, I don't actually see the problem... but where did you define that ChatWnd variable? ^o)

And also, do you have anything in your debugging window?

This post was edited on 12-07-2006 at 07:39 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
12-07-2006 07:39 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Disable access to parent chat window when child xml window open - by the andyman on 12-05-2006 at 10:27 PM
RE: Disable access to parent chat window when child xml window open - by Matti on 12-06-2006 at 03:23 PM
RE: Disable access to parent chat window when child xml window open - by the andyman on 12-06-2006 at 04:54 PM
RE: RE: Disable access to parent chat window when child xml window open - by Matti on 12-07-2006 at 07:39 PM
RE: Disable access to parent chat window when child xml window open - by the andyman on 12-07-2006 at 06:17 PM
RE: RE: RE: Disable access to parent chat window when child xml window open - by the andyman on 12-07-2006 at 08:53 PM
RE: Disable access to parent chat window when child xml window open - by Spunky on 12-07-2006 at 09:40 PM
RE: RE: Disable access to parent chat window when child xml window open - by the andyman on 12-08-2006 at 05:54 PM
RE: Disable access to parent chat window when child xml window open - by CookieRevised on 12-08-2006 at 07:07 PM
RE: RE: Disable access to parent chat window when child xml window open - by the andyman on 12-09-2006 at 05:22 PM
RE: RE: RE: Disable access to parent chat window when child xml window open - by pollolibredegrasa on 12-09-2006 at 05:30 PM
RE: Disable access to parent chat window when child xml window open - by the andyman on 12-09-2006 at 06:51 PM
RE: RE: RE: Disable access to parent chat window when child xml window open - by the andyman on 12-10-2006 at 07:04 PM
RE: RE: RE: RE: Disable access to parent chat window when child xml window open - by pollolibredegrasa on 12-10-2006 at 07:28 PM
RE: RE: RE: RE: RE: Disable access to parent chat window when child xml window open - by the andyman on 12-10-2006 at 09:51 PM
RE: RE: RE: RE: RE: RE: Disable access to parent chat window when child xml window op - by the andyman on 12-11-2006 at 05:58 PM
RE: Disable access to parent chat window when child xml window open - by the andyman on 12-11-2006 at 06:30 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