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: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

wxRTC, wxHTML or wxTextCtrl - which fits better here?

Post by evstevemd »

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?
eranif
Moderator
Moderator
Posts: 610
Joined: Tue Nov 29, 2005 7:10 pm
Location: Israel

Post by eranif »

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: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Post by evstevemd »

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?
Post Reply