What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [?] Stop the X button from closing a PlusWnd

[?] Stop the X button from closing a PlusWnd
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: [?] Stop the X button from closing a PlusWnd
code:
function OnWndCountDownDisplayEvent_Destroyed(Wnd, nExitCode){
    if (TimerLength > 1){
        OnWndCountDownDisplayEvent_Cancel = true;
    }
}
   
function OnWndCountDownDisplayEvent_Cancel(Wnd){
    if (TimerLength > 1){
        return true;
    }
}


That is how I do it on Screenshot Sender 4. Remember that TimerLength is the TimerCountdown included in the program. This will also prevent the user from pressing the Esc key on the keyboard to close the window.

This post was edited on 08-12-2006 at 12:58 AM by matty.
08-11-2006 02:48 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[?] Stop the X button from closing a PlusWnd - by Matti on 08-11-2006 at 09:03 AM
RE: [?] Stop the X button from closing a PlusWnd - by Mike on 08-11-2006 at 09:07 AM
RE: [?] Stop the X button from closing a PlusWnd - by Ash_ on 08-11-2006 at 09:18 AM
RE: [?] Stop the X button from closing a PlusWnd - by Matti on 08-11-2006 at 01:47 PM
RE: [?] Stop the X button from closing a PlusWnd - by deAd on 08-11-2006 at 02:42 PM
RE: [?] Stop the X button from closing a PlusWnd - by matty on 08-11-2006 at 02:48 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