For Programmers: Free Programming Magazines  


Home > Archive > MSDN > August 2004 > Vertical space between nodes in TreeCtrl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Vertical space between nodes in TreeCtrl
Micobo

2004-08-19, 8:56 am

Hi,
I try to subclass a TreeCtrl in order to replace original items by ComboBox.
Now, it works not too badly when I add some ComboBox. My problem appears when
I add several Combobox who follow each other because the height of my combo
is taller than the height of my nodes and ComboBox are bad drawn. I would
like to know if is there a way to enlarging the vertical space between nodes.
Thank you
David Mair

2004-08-21, 3:59 pm

Micobo wrote:

> Hi,
> I try to subclass a TreeCtrl in order to replace original items by ComboBox.
> Now, it works not too badly when I add some ComboBox. My problem appears when
> I add several Combobox who follow each other because the height of my combo
> is taller than the height of my nodes and ComboBox are bad drawn. I would
> like to know if is there a way to enlarging the vertical space between nodes.


I haven't tried and am only guessing but can you provide your own
implementation of a handler for WM_MEASUREITEM?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com