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 |
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
|
|
|
Goto Forum:
Current Time: Sat May 04 17:59:51 CEST 2024
Total time taken to generate the page: 0.03039 seconds
|