Click here to Skip to main content
12,253,990 members (62,024 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

13.6K views
5 bookmarked
Posted

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...

Comments and Discussions

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

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