Simply add several items with NULL parent to the control and play with
TCS_DRAWLINESATROOT style (enable/disable it to find the most suitable
representation).

______________________________________________

Best regards,
Maks Pyatkovskiy


> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:bounce-palm-dev-
> [EMAIL PROTECTED] On Behalf Of Nick
> Sent: Wednesday, May 28, 2003 6:13 PM
> To: Palm Developer Forum
> Subject: POL CTreeCtrl presentation question
> 
> Hi,
> 
> I have a tree control in a widget (via POL).  I want to display the
tree
> without the root node because it will make better use of the widget
real
> estate.  In my application, the root node does not convey any useful
> information to the user and I'd prefer to have the extra line in the
> widget
> displaying useful information.
> 
> Is there a way in POL to hide the root node and only display the
children?
> 
> Thanks,
> Nick.
> 
> 
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to