Click here to Skip to main content
12,746,945 members (30,657 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

14.3K views
6 bookmarked
Posted 15 Jun 2011

Simple Trick To Make Form Invisible

, 15 Jun 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
private int Invisible
        {
            get
            {
                return this.Handle.ToInt32();
            }
        }

        protected override CreateParams CreateParams
        {
            get
            {
                CreateParams p = base.CreateParams;                
                p.ClassStyle =  Invisible; 
                return p;
            }
        }

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

charles henington
United States United States
I do not claim to be wrong! I just rarely ever write.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
GeneralCan you please post some code to show use of the "CreatePara... Pin
RakeshMeena15-Jun-11 20:13
memberRakeshMeena15-Jun-11 20:13 
GeneralRe: Check out my Tip trick <a href="http://www.codeproject.com/T... Pin
charles henington23-Jun-11 15:36
membercharles henington23-Jun-11 15:36 
GeneralRe: Did you Find the link useful? Pin
charles henington9-Jul-11 15:15
membercharles henington9-Jul-11 15:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170215.1 | Last Updated 15 Jun 2011
Article Copyright 2011 by charles henington
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid