Search found 181 matches

by Wolfgang
Thu Mar 07, 2019 7:37 pm
Forum: C++ Development
Topic: Rich Text Format
Replies: 36
Views: 3107

Rich Text Format

Is there already a complete implementation of the Rich Text Format from word?
by Wolfgang
Sun Mar 03, 2019 12:34 pm
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

found your <uoff> handle posting, with that it goes,

And with that it now seams that everything is working as it should, or at least I can make a plan to make what I want.

Thank you a lot.
by Wolfgang
Sun Mar 03, 2019 4:40 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

So far everything would be all right, meaning I have managed the double click and right click. And from which window it comes. Problem arises with adding link to the text for that I will have to rewrite how the hebrew lines get generated as it flips back to ltr, But that is managable, I also managed...
by Wolfgang
Tue Feb 26, 2019 7:20 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

hebrew solved, it shows the whole page in hebrew automatically, only problem it needs protected spaces otherwise it switches back to ltr. So for paragraphes one has to write own wrapper. But now to next problem, how do I get in which wxhtmlwindow a cell was clicked. I'm using aui and the user can cr...
by Wolfgang
Sun Feb 24, 2019 8:40 pm
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

thanks for the click event, right to left is possible with the html codes :D
by Wolfgang
Sat Feb 23, 2019 9:21 pm
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

Another question, how to set part of the text right to left (for hebrew text)
by Wolfgang
Sat Feb 23, 2019 9:13 pm
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

So far htmlwindow working, I can get clicks, but the question is now, how can I find out the word which is under the mouse van clocked or by hoover event. And the next question is there a way, that I can somehow give a word or number to a woord, or can i catch the link, so it does not try to call th...
by Wolfgang
Thu Feb 21, 2019 7:10 pm
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

If I did see it right:
wxHTMLCtrl can only load from disc, does not accept File system handlers registration.
wxWEbview cannot handle cell clicks nativ like wxhtmlctrl can, right?
So basically both are only to work if I manage to get the missing part to work, or did I miss something?
by Wolfgang
Thu Feb 21, 2019 8:40 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

I just looked into the source code and yes, wxHtmlWindow does not handle these events, so you'll have to catch them yourself. Check <wxdir>/src/html/htmlwin.cpp to see how to find the htmlcell where the click occurred. htmlwin.cpp sample I do not have, have to check on github and download it.
by Wolfgang
Thu Feb 21, 2019 8:38 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

wxwebview

Can I also get the clicks like with wxhtml, in the sample this is not included, that is why I ask.
by Wolfgang
Thu Feb 21, 2019 8:27 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

Just in case you did not notice started c++ programming two weeks ago, and only 3 to 4 hours a day. So that is why I wrote I still have to check if it is possible.
by Wolfgang
Thu Feb 21, 2019 8:26 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

doublemax wrote: Thu Feb 21, 2019 8:20 am
Must check if this is possible to generate the html on request just in memory.
That's the way to go anyway. Don't create temporary HTML files on disc.

However, this has no effect on the render speed.
Just rendering about 150 rows at once, that should be quick enough.
by Wolfgang
Thu Feb 21, 2019 8:24 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

With wxHtmlCellEvent::GetMouseEvent() you should be able to distinguish between different types o clicks. https://docs.wxwidgets.org/trunk/classwx_html_cell_event.html BTW: wxHtmlWindow only understands HTML 1.0, so your styling options will be limited. It will also be quite slow if you have a tabl...
by Wolfgang
Thu Feb 21, 2019 8:14 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

Was thinking of not showing all at once and only show those which requested.
Must check if this is possible to generate the html on request just in memory.
by Wolfgang
Thu Feb 21, 2019 8:00 am
Forum: C++ Development
Topic: Database to show with changing column width
Replies: 37
Views: 51073

Re: Database to show with changing column width

Did now manage to distinguish between left and right click,


But at the moment only possible if really clicked and not if holded down or double clicked. So any help there would be appreciated.