[.net] Modeless Fixed Toolwindow Form

Started by
0 comments, last by Geronimo2000 18 years, 2 months ago
Hi, Im new to C# and Windows forms and im trying to make a Modeless Windows Form with the style of FixedToolwindow. I can create the Form and show it, but my problem is that I then have two icons in the taskbar during runtime. One for the main application form and one for the toolwindow. I was wondering how to make it so that the Toolwindow is a child of the main form and doesnt have its own icon in the taskbar. Thanks. Edit: Btw Im using C# with Microsoft Visual C# Express Edit: Dont worry. I was being blind when looking through all the properties. Just had to set the ShowInTaskBar Property to false. [Edited by - Ratterbox on February 6, 2006 3:01:21 AM]
Advertisement
Unless I'm missing something, all you have to do is set ShowInTaskbar to false for that other window (this can be done in the designer), and then set the Owner of that other window to the main window (this must be done manually in the code).

This topic is closed to new replies.

Advertisement