U++ framework
Do not panic. Ask here before giving up.

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: 1431
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: Tue Apr 28 15:19:46 GMT+2 2026

Total time taken to generate the page: 0.00445 seconds