473,387 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

New form without a new taskbar window/icon

I want to create several forms in my C# program so that when people click on
options in the menu bar (such as Tools -> Options) it brings up a new form
dialog window for them to change certain settings of the program. In Visual
C# (EE Beta) I am using the "Windows Form" template under Project -> Add New
Items... to create a new form then loading its instance using the Show()
method.

However when I use this it loads the form in a new window that appears as a
separate form in the taskbar etc. - it has an icon in the top left hand
window. I want it to appear similar to when you click Settings in most
programs, ie a child of the current program/form. This also happens when I
use the "About Box" template.
Nov 17 '05 #1
2 3398
Setting the combination of the ShowInTaskbar, FormBorderStyle, and Owner
properties should do the trick.

--
Tim Wilson
..Net Compact Framework MVP

"ukdmbfan" <uk******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
I want to create several forms in my C# program so that when people click on options in the menu bar (such as Tools -> Options) it brings up a new form
dialog window for them to change certain settings of the program. In Visual C# (EE Beta) I am using the "Windows Form" template under Project -> Add New Items... to create a new form then loading its instance using the Show()
method.

However when I use this it loads the form in a new window that appears as a separate form in the taskbar etc. - it has an icon in the top left hand
window. I want it to appear similar to when you click Settings in most
programs, ie a child of the current program/form. This also happens when I
use the "About Box" template.

Nov 17 '05 #2
Hi,

Form.ShowInTaskBar = false

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"ukdmbfan" <uk******@discussions.microsoft.com> wrote in message
news:4E**********************************@microsof t.com...
I want to create several forms in my C# program so that when people click
on
options in the menu bar (such as Tools -> Options) it brings up a new form
dialog window for them to change certain settings of the program. In
Visual
C# (EE Beta) I am using the "Windows Form" template under Project -> Add
New
Items... to create a new form then loading its instance using the Show()
method.

However when I use this it loads the form in a new window that appears as
a
separate form in the taskbar etc. - it has an icon in the top left hand
window. I want it to appear similar to when you click Settings in most
programs, ie a child of the current program/form. This also happens when I
use the "About Box" template.

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jim M M | last post by:
Hello Everyone, QUESTION #1 I am working on a timer. I have the following code which works kind of OK. If Form1.WindowState = 1 Then Form1.WindowState = 0 The problem is that if the user...
1
by: Shayne H | last post by:
I want to be able to add a clock to the title of a VB.NET form. Simply updating the FormClass.Text property does not quite make it, the titile only changes once the form is minimised/maximised....
7
by: Danielb | last post by:
I want my application to run most of the time as just an notify icon visible in the system tray, with some dialogs windows that open if the user selects an option from the context menu on the tray...
3
by: Maka Sili | last post by:
Hi, My VC++ application does not have a titlebar (and therefore no System menu, no minimize, no maximize and no close button). We have a custom button for minimize and close. When the app...
5
by: michael sorens | last post by:
(1) By setting an icon in my Windows Form properties, I successfully display my custom icon when my application is executed. However, as soon as I open the Options form in my application--now...
17
by: Bodyboarder20 | last post by:
Hello! So im working on an applicaiton that all pretty much sits on a single form. When the application completes a task, I'd like it to use FlashWindow() to notify the user that it has...
3
by: Jimmy | last post by:
I'm kinda newbie to python and wxPython. Now I'm confronting a thorny problem: how can I make my program minimize to the taskbar represented as an ico, and when there is some message from network...
2
by: \(O\)enone | last post by:
I wish to be able to copy a form's icon into a picturebox, in a similar way to how the Windows Taskbar copies each form's icon into each of its task panels. I can easily read out the icon of...
2
by: Robert McEuen | last post by:
Access 97/2003 Windows XP (Classic Start Menu) I just converted an mdb from A97 to A2K3 and found something that, after Google search, doesn't appear to have been addressed in cdma... I have...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.