473,695 Members | 2,622 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Splitter Window

Hi,

I want a window on the left side of my mainframe to put a tree control on, and I want it to be horizontally resizable (like the one you can make appear on the left of the internet explorer window). I'm making a multi-document application. Does anyone know how to do this fairly easily?

Thanks.
Nov 17 '05 #1
2 1305
"Gary" <Ga**@discussio ns.microsoft.co m> wrote in message
news:02******** *************** ***********@mic rosoft.com...
I want a window on the left side of my mainframe to put a tree
control on, and I want it to be horizontally resizable (like the
one you can make appear on the left of the internet explorer
window). I'm making a multi-document application. Does
anyone know how to do this fairly easily?


Well, fairly easy and anything Windows are often oxymoronic. :-)

That said, here are a few options:

1) There is a sample in the Platform SDK called EnumDesk (Enumerate Desktop)
which enumerates the elements of the Shell's namespace in the left pane and
provides detailed information in the right pane of a splitter window in the
way that the Explorer does it.

2) MFC provides a class named CSplitterWnd for MFC based applications.

3) A number of splitter implementations are found here:

http://www.codeproject.com/splitter/

4) When I needed a barebones skeleton for a splitter I started with some
code from a gent named J Brown that I found of the web but I seem to have
misplaced the link.

Regards,
Will
Nov 17 '05 #2
"William DePalo [MVP VC++]" <wi***********@ mvps.org> wrote in message
news:uN******** ******@TK2MSFTN GP11.phx.gbl...
4) When I needed a barebones skeleton for a splitter I
started with some code from a gent named J Brown that
I found of the web but I seem to have misplaced the link.


This is the link that I had trouble finding before:

http://www.catch22.org.uk/tuts/splitter.asp

Like all good samples, it provides all you need and nothing more.

Regards,
Will
Nov 17 '05 #3

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

Similar topics

2
1721
by: Skan | last post by:
I had used .Net Splitters in my application. There is a bug with that control Moving splitter works fine. But when switch to some other window while moving the splitte, the key board keys do not work in application. Proper scenario is as follows. We assume that you have a VB.NET application running with atleast one splitter and a text box. Also some other windows are opened on your desktop 1- Move splitter in a VB.NET application...
7
3307
by: John | last post by:
Hi, I have a group of controls in a panel on the right-hand side of a splitter and a treeview on the left-hand side. The only configuration that I can find to make the right-hand side resize correctly is: lhsTreeview - Dock = Fill, Anchor = Top,Left splitter - Dock = Right rhsPanel - Dock = Right, Anchor = Top,Left
3
2863
by: Andre Loker | last post by:
Hi! For my current application I'm looking for a four-way-(cross) splitter control (as often seen in 3D-editors). The .NET Splitter-class is (IIRC) only a two-way splitter. Does anyone know such a four-way-splitter control? Regards, Andre Loker
4
8099
by: BBM | last post by:
I'm trying to set up a form with two panels divided by a Splitter control. I can make the Splitter work in the situations described in the documentation (Listbox or TreeView on left w/Dock set to Left, Panel on right of form w/ Dock set to Fill, Splitter between them set w/ Dock set to Left. Works as advertised. But... if I change to have two panels on the form one on the left with Dock set to Left, a panel on the right with Dock set to...
0
914
by: pandu | last post by:
i am creating an application with document view architecture and in one of the child frames i am using a splitter window(static) and two list views with it. My problem is that i need a common vertical scroll bar which i got but without the individual scroll bars of the listviews to synchronize the list views hope i will get a solution from you
5
2322
by: Sam | last post by:
Hi, I have a panel docked to the bottom of my form. This panel can be expanded vertically by clicking on a button. When the user click on the button again, the panel is then collapsed. The panel has a horizontal splitter, which the user can use to resize the panel when it is expanded. I would like to save the height of the panel when the user uses the splitter, so that when the panel is expanded via the button, it size will be...
5
6264
by: dotnetchic | last post by:
In vs 2003 we were able to place a container (panel) on the bottom of a form, attach a splitter to the bottom, and place another container panel up top, set to fill. Then within the top panel, you could add two more panels, one docked to the left, attach a splitter to the left, then set the other panel to fill. This gives you one main top/bottom window with user resize capability, plus the ability to resize within the upper portion of...
2
3126
by: Istvan | last post by:
Hello ....Window.Forms.... Can somebody help me with Panels and Splitters ? I want to add three Panels to one Usercontrol , between them with two movable Splitter. First Row: 2 Columns ( 2 panels, with 1 splitter between them)
2
2102
by: eric dexter | last post by:
I am trying to steal this code from the wxpython demo but it appears that mb comes from nowhere and I am having errors because of it import wx #--------------------------------------------------------------------------- class MySplitter(wx.SplitterWindow): def __init__(self, parent, ID, log): wx.SplitterWindow.__init__(self, parent, ID,
0
8642
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...
1
8861
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
7673
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
6500
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
5841
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4349
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3021
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
2283
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1984
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.