Register for your free account! | Forgot your password?

You last visited: Today at 20:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Help-

Discussion on Help- within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Help-

How can i make it so when i Click the X at the Top Right of the Console it automaticly sends messages saying Blabla saved, and it exits saving everthing, Its just like the /exit command
-Shunsui- is offline  
Old 02/03/2010, 00:17   #2
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
As far as I know I never did such a thing, so I deny it's existence.
What you can do is the following, handle hotkeys.

Code:
        protected override bool ProcessCmdKey(ref Message msg, Keys keyData) 
        { 
            switch (keyData) 
            {
                case Keys.Control | Keys.Escape:
                    {
                        // Save everything.
                        Environment.Exit(1);
                        return true;
                    }
            } 
            return false; 
        }
ImmuneOne is offline  
Thanks
1 User
Reply




All times are GMT +1. The time now is 20:11.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.