🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.tools.mfc
4 messages
4 total messages Started by Daniel I. Zuckerman Thu, 01 Feb 1996 23:57
vc4.0: CTreeCtrl + Multiple Select - HELP!
#44
Author: Daniel I. Zuckerman
Date: Thu, 01 Feb 1996 23:57
22 lines
1287 bytes
does anyone out there know how to create a CTreeCtrl (or similar 
tree
class) that will allow multiple selections?  i know it's possible 
within windows, since the Project Workspace pane has a 
multiple-select
tree, but there doesn't seem to be an option somewhere that i can
select to get that functionality in my program.

if you have an answer or suggestion, please e-mail me!  thanks.

-d


-- 
---
Daniel I. Zuckerman                          dzuckerman@ets.org
http://www.hal.com/services/juggle/home/dzuckerman@ets.org/

Sometimes my employer agrees with me, but that's usually just a
coincidence, so don't count on it. I speak for me and me alone!

"Psi-Corp is your friend.  Trust Psi-Corp."
Re: vc4.0: CTreeCtrl + Multiple Select - HELP!
#45
Author: Stephen Estes
Date: Sat, 03 Feb 1996 18:19
18 lines
1065 bytes
Daniel I. Zuckerman wrote:
:> 
:> does anyone out there know how to create a CTreeCtrl (or similar
:> tree
:> class) that will allow multiple selections?  i know it's possible
:> within windows, since the Project Workspace pane has a
:> multiple-select
:> tree, but there doesn't seem to be an option somewhere that i can
:> select to get that functionality in my program.

You have to code it yourself. You can get an example of how to do this at

/ftp.microsoft.com/softlib/mslfiles/tvwstate.exe


--
Stephen Estes
sestes@onramp.net
Re: vc4.0: CTreeCtrl + Multiple Select - HELP!
#49
Author: Alan C Francis
Date: Thu, 08 Feb 1996 11:34
22 lines
1488 bytes
Daniel I. Zuckerman wrote:
> 
> does anyone out there know how to create a CTreeCtrl (or similar
> tree
> class) that will allow multiple selections?  i know it's possible
> within windows, since the Project Workspace pane has a
> multiple-select
> tree, but there doesn't seem to be an option somewhere that i can
> select to get that functionality in my program.

Just a suggestion rather than an answer, I'm afraid, but if it's in
a window it's probably a CTreeView rather than a CTreeCtrl.  It
might be worth broadening you serach past just the COntrol.  The 
view does have an embedded control, but it may add the multi-select
functionality itself ?

Alan
-- 
-----------------------------------------------------------------
Alan C Francis           | Lego is a potent three-dimensional
Office Workstations, Ltd | modelling tool and a language in
Edinburgh, Scotland      | itself - Douglas Coupland, Microserfs
Re: vc4.0: CTreeCtrl + Multiple Select - HELP!
#57
Author: Don Starr
Date: Fri, 16 Feb 1996 04:52
34 lines
1618 bytes
In article <3119DFB4.37C9@owl-uk.co.uk>,
   Alan C Francis <alanf@owl-uk.co.uk> wrote:
*Daniel I. Zuckerman wrote:
*> 
*> does anyone out there know how to create a CTreeCtrl (or 
similar
*> tree
*> class) that will allow multiple selections?  i know it's 
possible
*> within windows, since the Project Workspace pane has a
*> multiple-select
*> tree, but there doesn't seem to be an option somewhere that i 
can
*> select to get that functionality in my program.
*
*Just a suggestion rather than an answer, I'm afraid, but if it's 
in
*a window it's probably a CTreeView rather than a CTreeCtrl.  It
*might be worth broadening you serach past just the COntrol.  The 
*view does have an embedded control, but it may add the 
multi-select
*functionality itself ?
*
*Alan

No, CTreeView doesn't really add any functionality. I had to do a 
similar thing and ended up manually setting the states of the 
TREEITEMs (different images, etc).

This really isn't surprising, as MS probably just gave us 
something they had left over from their own development - try 
selecting multiple folders in Explorer....

Don
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads