Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I create a combobox treenode?

0 views
Skip to first unread message

Tom

unread,
Mar 9, 2002, 9:35:46 AM3/9/02
to
Well, I'm curious on creating a TreeNode that's something other than a
label. Something like a combobox. This is just to understand how this is
done. Not sure in which end to start.

Thanks, and have a great weekend,

Tom

Erik Brown

unread,
Mar 9, 2002, 11:35:41 PM3/9/02
to
Tom,

I'm not sure exactly how to do this. You might be able to override the
Paint event for TreeView to paint the tree by hand, but this could get
messy. The TreeNode class provides a Bounds property that defines the
rectangular boundary of the node within the tree. Conceivably, you could
use this to paint the node by hand, and direct a ComboBox to paint itself
within this area.

Erik Brown

"Tom" <for...@about.it> wrote in message
news:uDXLie3xBHA.1524@tkmsftngp02...

0 new messages