473,796 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3411
Setting the combination of the ShowInTaskbar, FormBorderStyle , and Owner
properties should do the trick.

--
Tim Wilson
..Net Compact Framework MVP

"ukdmbfan" <uk******@discu ssions.microsof t.com> wrote in message
news:4E******** *************** ***********@mic rosoft.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.ShowInTask Bar = false

cheers,

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

"ukdmbfan" <uk******@discu ssions.microsof t.com> wrote in message
news:4E******** *************** ***********@mic rosoft.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
5691
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 has another window open when my timer program restores itself it ends up behind whatever window is currently open.
1
3353
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. Preferrably I'd like to use a Windows API to change the text displayed in the TASKBAR for the form window. Is it possible to change the title used by the taskbar to something different to the title used by the form window? Have been searching for...
7
6903
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 icon. I've had a look at the example on code project that creates an application that runs in the system tray: http://www.codeproject.com/csharp/desktop_mail_checker.asp So I copied how the above article sets up the main form: the form's...
3
4966
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 is in normal/maximized view, clickinng on the taskbar entry does not minimize the application. Normally (with apps with titlebar), the application would minimize when you click on
5
9480
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 having two windows open--they are grouped on the taskbar, but with a generic icon. Both my main form and my Option form are using the same icon. How can I use my custom icon instead of the generic icon in a .Net 2.0 C# application? (2) A standard...
17
5394
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 completed. I have this part working; however, I cant seem to find the right event to use to Stop the flashing.
3
14288
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 coming, it will pop out?
2
1616
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 each form by querying the .Icon property. However, when I use the Graphics.DrawIcon method to draw this into my picturebox, it is clearly the "large" version of the icon that is being drawn. When I draw it with a size of 16x16 pixels, the icon is...
2
5168
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 a form "frmMainMenu" that is the designated startup form (under Tools-Startup). In the Open event of that form, I open another form "frmHidden" and set its Visible property to false. When I converted to A2K3, it worked fine just like in A97. ...
0
9524
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10217
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7546
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.