Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2005

Tip: Looking for answers? Try searching our database.

How to open a form in hidden mode?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Veera.CH@gmail.com - 30 Jan 2005 10:18 GMT
Hi all,
How can an windows form be started in hidden mode?
My problem is I've setup a load event handler where I'm setting
this.Visible = false and calling base.OnLoad(). I noticed calling
base.OnLoad() is setting visibility to true for the frame. I tried to
peek in to Windows.Forms assembly using Reflector. There I found the
visibility is set to true (hard-coded).
Any help is appreciated.

Thanks,
Venkat
Jacky Kwok - 31 Jan 2005 01:20 GMT
> Hi all,
> How can an windows form be started in hidden mode?
[quoted text clipped - 4 lines]
> visibility is set to true (hard-coded).
> Any help is appreciated.

You may try to set the Form size to (0,0) or move the Form to an
invisible location,e.g (-10000,-10000). The effect is same to set the
Form "Visible = false".

Signature

Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.