473,396 Members | 2,055 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,396 software developers and data experts.

Tiny Window

I want to implement a tiny window in my application, one that you typically
invoke via the menu-option Window -Toolbar. It must be floating, not
restricted to the client area of the controlling form. It has a tiny
close-button on the right-hand corner. How do I implement this?
Nov 21 '06 #1
2 1506
This do?

static void Main()
{
using (Form form = new Form())
using (Form tool = new Form())
{
tool.FormBorderStyle = FormBorderStyle.FixedToolWindow;
tool.Text = "Tool";
tool.Owner = form;
tool.Size = new Size(60, 80);
tool.Show();
Application.Run(form);
}
}

Marc
Nov 21 '06 #2
Hi,

Try creating a new Form and setting the FormBorderStyle property to
FixedToolWindow or SizableToolWindow.

In an event handler for a Button.Click event, for example, open your Form:

private void button1_Click(object sender, EventArgs e)
{
TinyForm form = new TinyForm();
form.Show(this);
}

--
Dave Sexton

"Martijn Mulder" <i@mwrote in message
news:45***********************@news.wanadoo.nl...
>I want to implement a tiny window in my application, one that you typically
invoke via the menu-option Window -Toolbar. It must be floating, not
restricted to the client area of the controlling form. It has a tiny
close-button on the right-hand corner. How do I implement this?

Nov 21 '06 #3

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

Similar topics

2
by: Sven Kobow | last post by:
Hello, I'm not yet a python programmer but a python user. I faced a problem with tiny fonts in a wxPython app on a GNU/Debian system. Under Gentoo Linux the fonts are displayed in a normal...
0
by: Justin Ezequiel | last post by:
Can somebody please give me a URL to where I can download the DTD? I've Googled and browsed all through http://openreport.org/ with no success.. I've subscribed to the OpenReport mailing list but...
0
by: CxG | last post by:
When creating a second named instance, on the Setup Type window I have a problem with the system drive space available. In the Setup Type window... - Select Typical. - Leave Program Files to...
5
by: Mel | last post by:
i would like to place a tiny image on the top-left corner of all screens and on clicking the image to to http://www.somewhere.com url can you please help ?
7
by: Werner Nussbaumer | last post by:
Hello I am searching for a version of the Tiny C compiler for Windows 32. I downloaded a version from http://fabrice.bellard.free.fr/tcc/ but the make command displayed error messages: ...
7
by: Sueffel | last post by:
Simple questions that have just been kickin my butt! Question 1: Here's the code: XmlNode node1; XmlAttribute attribute1; node1 = this.xmlDoc.DocumentElement; attribute1 =...
5
by: soeren | last post by:
Hello, two days ago I stumbled across a very strange problem that came up when we were printing tiny double numbers as strings and trying to read them on another place. This is part of an object...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
14
by: rtk | last post by:
I'm looking for information on building a tiny/small/minimalist/ vanilla python interpreter. One that implements the core language and a few of the key modules but isn't tied to any specific...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.