Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TreeCtrl » Changing tree control style
Re: Changing tree control style [message #29762 is a reply to message #29755] Mon, 15 November 2010 11:25 Go to previous messageGo to previous message
gprentice is currently offline  gprentice
Messages: 260
Registered: November 2005
Location: New Zealand
Experienced Member
koldo wrote on Mon, 15 November 2010 09:37

andrei_natanael wrote on Sun, 14 November 2010 20:56

dolik.rce wrote on Sun, 14 November 2010 17:57


The only problem you might encounter is actually how to draw the dotted line, if I remember correctly there is no simple function to draw a line with pattern using Draw. So you will probably have to draw the dots somehow yourself.


There is Draw::DrawLine. 5-th argument may be PEN_SOLID, PEN_DASH, PEN_DOT, PEN_DASHDOT, PEN_DASHDOTDOT if you want to have different kind of lines.

Andrei


Hello Andrei

Those includes only work if Painter is used. If not use a negative color and width == 1 to get a dashed line.


What is meant by "if Painter is used" ?

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Anomaly in tree control
Next Topic: PROPOSAL: TreeCtrl optionally owns Ctrl's in Node
Goto Forum:
  


Current Time: Tue May 07 21:09:30 CEST 2024

Total time taken to generate the page: 0.03518 seconds