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 » RichText,QTF,RTF... » How to use QTF/RichText with support of links as node of TreeCtrl?
How to use QTF/RichText with support of links as node of TreeCtrl? [message #19298] Mon, 24 November 2008 20:35 Go to previous message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
What is the best way of using QTF/RichText with support of links as node of TreeCtrl?

SetDisplay(QTFDisplay()) helps to display QTF, but it doesn’t allow to work with links, and it seems to be an inefficient way to display QTF because it calls ParseQTF() in GetStdSize(),RatioSize(), and Paint() methods. Direct using of RichText would be a more efficient way.

I’ve tried to use RichTextCtrl for this purpose. Unfortunately, I couldn’t figure out how to calculate correct size of a control to pass it to a TreeCtrl::Node.

Any help will be appreciated.

Thanks.


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Enable Export to PDF in Report Example?
Next Topic: RichText editor problem..
Goto Forum:
  


Current Time: Thu Apr 25 14:46:38 CEST 2024

Total time taken to generate the page: 0.01975 seconds