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 / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

Multiple-forms WinForm app with only 1 Taskbar button?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pedestrian - 28 Aug 2006 01:57 GMT
I'm creating a multiple-forms windows application. When I launch second form
(says, frmSecond) from the main from the Main form(frmMain) with ShowDialog()
method, the taskbar add another button for the second form, thus, if I then
open the third form (frmThird), the taskbar add yet another button.

My intention is to only show the Main form (frmMain) button in taskbar since
there is only one application and all other forms launched from main form
subsequently with ShowDialog() should not show in taskbar since all are
belong to the same application.

Is it possible? Thanks for replying...
pedestrian - 28 Aug 2006 08:26 GMT
Solution found, I use ShowInTaskbar = False.

Signature

Regards,
Pedestrian, Penang.

Mini-Tools Timm - 29 Aug 2006 13:02 GMT
> I'm creating a multiple-forms windows application. When I launch second form
> (says, frmSecond) from the main from the Main form(frmMain) with ShowDialog()
[quoted text clipped - 5 lines]
> subsequently with ShowDialog() should not show in taskbar since all are
> belong to the same application.

Before opening frmSecond, set frmSecond.ShowInTaskBar = false.  Same with
frmThird, etc.

Signature

Timm Martin
Mini-Tools
.NET Components and Windows Software
http://www.mini-tools.com

pedestrian - 01 Sep 2006 00:55 GMT
Yes... absolutely... Thanks...

>> I'm creating a multiple-forms windows application. When I launch second form
>> (says, frmSecond) from the main from the Main form(frmMain) with ShowDialog()
[quoted text clipped - 4 lines]
>Before opening frmSecond, set frmSecond.ShowInTaskBar = false.  Same with
>frmThird, etc.

Signature

Regards,
Pedestrian, Penang.


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.