wxRTC, wxHTML or wxTextCtrl - which fits better here? Topic is solved

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2293
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania
Contact:

wxRTC, wxHTML or wxTextCtrl - which fits better here?

Post by evstevemd » Sat Mar 13, 2010 10:50 am

I need to read text (something like a book) and display the text. The text will be having links to chapters/page numbers and other cross reference. Now I'm stuck on deciding widget to act as display as almost all *can* do that. But i need your suggestion and recommendation on this. All this widgets should be able of is:
1. have a link that once clicked will query contents from database that correspond to that link
2. On Hovering, it should be able to display content of that link (not very different from above huh!)
3. Nice formatting (whether HTML or XML or rtf) but with less processing overhead

Thanks :o
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]

eranif
Moderator
Moderator
Posts: 607
Joined: Tue Nov 29, 2005 7:10 pm
Location: Israel

Post by eranif » Sat Mar 13, 2010 11:23 am

wxRichTextControl was made for such purposes


Eran
IDE: CodeLite + wxCrafter
OS: All
https://wxcrafter.codelite.org
https://codelite.org

User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2293
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania
Contact:

Post by evstevemd » Tue Apr 20, 2010 2:29 pm

After some time of thinking and trying, I see both are needed in different sections.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 19.04/Windows 10 Pro/MacOS 10.13 - GCC/MinGW/Clang, CodeLite IDE]

Post Reply