473,789 Members | 2,740 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dockable Windows

I need to add 2 or 3 dockable windows to an app, but I can't seem to find
anything that will do this.

Am I missing something simple, or do I need to write my own dockable class?

Tony
Jul 17 '05 #1
1 3010
Tony Burrows <to**@tonyburro ws.com> wrote in message news:<pa******* *************** ******@tonyburr ows.com>...
I need to add 2 or 3 dockable windows to an app, but I can't seem to find
anything that will do this.

Am I missing something simple, or do I need to write my own dockable class?

Tony


Depending on how simple your layout is you could try using
BorderLayout with you main app panel in the center and dockables
placed in the WEST, SOUTH or whatever position. You can set the size
(width or height) to zero to hide the docked panel.

Note, this won't work if you want dock OR floating windows, but you
could try having all the components in a dialog on a top-level panel
(or box, any container) then transfer that container from the dialog
(or JFrame) to the borderlayout panel/frame.

I have made this scheme work for simple dockable layouts (ie only one
window in any position N, S, E, W) but no draggable docks :-((

Hope this helps.

If not, could you provide more information on exactly what you trying
to acheive?

AJG.
Jul 17 '05 #2

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

Similar topics

2
1827
by: joshfeingold | last post by:
Can anyone suggest a free dockable window component (.net) that will allow the functionality similar to the toolbar which is a dockable window in Visual Studion? Thanks, Josh
0
1278
by: jacobryce | last post by:
I sent this post out a couple weeks ago and received no response, so I'll try again... I'd like to create a windows MDI in VS 2005 C# that will allow child windows to have the same options and behave similarly to those within the Visual Studio 2005 development environment. 1. In VS, if you right-click on any window, you can select between "Floating", "Dockable", "Tabbed Document", "Auto Hide", and "Hide". How can I get my child forms...
10
1774
by: rawCoder | last post by:
Is there any provision for creating winform applications that have dockable windows ( Like the VS.NET IDE ) in whidbey ? I just installed the beta and cant seem to find it. Am i asking for too much or just too tired ? P.S. Cudnt find whidbey newsgroup as well. Whats the name of it anyways ? Thanx rawCoder
2
1974
by: Neil Guyette | last post by:
Hello, All, I'm looking for information on how to create dockable forms. Basically, I'm writing a .NET application and instead of using C# (I want to refresh my C++ skills) I'm going to use C++. It would be greatly appreciated if anyone can direct me to online resources or even a good book that gives an overview on how to create dockable forms.
1
1956
by: venkat | last post by:
Can we create our own Dockable windows (having our own controls) in excel (Windows 2003) like Getting started, The dockable window that appears when we click on File -> New. Please tell me the whether it is possible or not. If so what are the classes that I need to use and what are the problems that may face if I use the same code on old versions of excel.
3
5204
by: Richard L Rosenheim | last post by:
I'm looking for an example on how to implement floating/dockable windows using either VB.Net (preferred) or C#. I've searched gotdotnet, MSDN and Google but wasn't able to find an examples. I was wondering if anyone knows of any? TIA, Richard Rosenheim
0
1392
by: Eric Paitz | last post by:
I would like to create a Visual Basic .NET add-in that has a dockable form like the Solutions Explorer or the Properties Window. I have seen classes like CommandBars and others to add UI to the add-in, but I have not found a way to make a custom dockable form in my add-in. thanks in advance, -eric (paitz_eric@bah.com)
5
5005
by: Bob | last post by:
Hi, I was wondering if anyone could point me to info on the best way to create a dockable window. I have seen plenty of posts about dockable controls that run within windows but I want the actual main window to dock, probably to the taskbar. I'd like it smart enough to adjust position if the taskbar height is increased or decerased.
3
7584
by: farseer | last post by:
Hello, i am looking for some advice on how to create a form or pane that is dockable/undockable to the right side of an MDI parent form, while allowing new windows to be displayed "freely" on the right side of the MDI form (i.e. undocked and movable). I basically want to have a tree view on the left of the MDI form that can be locked or free floating.
0
9666
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
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
10410
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10139
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
9984
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
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...
1
4093
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
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
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.