Splitter Window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Gary said:
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
 
William DePalo said:
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
 
Back
Top