Search found 174 matches

by Wolfgang
Thu Mar 28, 2019 5:40 am
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

Re: panel as auipane update problem

Thanks working, another problem did arise, but I do not have a clue, why, but I will start a new thread for that.
by Wolfgang
Wed Mar 27, 2019 6:23 pm
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

Re: panel as auipane update problem

Is there a way to close the window (pane hide "tool"), if it is hovering over the htmlwindow, but not over a cell. As the htmlcellhover is only working if over a cell, and empty space does not get catched at all.
by Wolfgang
Wed Mar 27, 2019 4:42 am
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

Re: panel as auipane update problem

Solved, did give a min and maxsize for the panel.
by Wolfgang
Tue Mar 26, 2019 8:38 pm
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

Re: panel as auipane update problem

The sizer I also solved already, not as you suggested, but now I understand how you mean it.
Layout did not change anything, still the problem with the first call persists.
by Wolfgang
Tue Mar 26, 2019 8:08 pm
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

Re: panel as auipane update problem

Ok, managed that one, but the first text is not shown completely. From the second on it works correct. I have seen there were some old definitions in, which are not needed any more. Deleted them already. Are there some other things which are not nice programming?
by Wolfgang
Tue Mar 26, 2019 12:34 pm
Forum: C++ Development
Topic: panel as auipane update problem
Replies: 9
Views: 565

panel as auipane update problem

Hello This is my code void MyFrame::OnHtmlCellHover(wxHtmlCellEvent &event) {if (toolshown&&H_cell!=OH_cell) { toolshown = false; m_mgr.GetPane("Tool").Hide(); m_mgr.Update(); } else if(toolshown&&H_cell == OH_cell) { } else { wxHtmlLinkInfo* test2; test2 = H_cell->GetLink(); wxString text2; if (tes...
by Wolfgang
Sat Mar 23, 2019 8:19 pm
Forum: C++ Development
Topic: xml formated string as tooltip
Replies: 4
Views: 241

Re: xml formated string as tooltip

Yes, thanks that I missed, now it works, have changed it to richtooltipxml.cpp and wiht only one cpp and one header file.
by Wolfgang
Sat Mar 23, 2019 7:48 pm
Forum: C++ Development
Topic: xml formated string as tooltip
Replies: 4
Views: 241

Re: xml formated string as tooltip

I changed the richtooltip and everything is working, but if I close the programm, it throws an exception. Exception thrown: read access violation. this->m_window-> was 0xFFFFFFFFFFFFFFF7. If there is a handler for this exception, the program may be safely continued. void wxSizerItem::Free() { switch...
by Wolfgang
Wed Mar 20, 2019 6:45 pm
Forum: C++ Development
Topic: xml formated string as tooltip
Replies: 4
Views: 241

xml formated string as tooltip

I read a xml formated string from a database and want that to show into a tooltip. Is this somehow easily possible? wxString mytxt = newh; wxRect myrect = wxRect(lpos,lpos); wxTipWindow *m_tipWindow = new wxTipWindow(m_bibf[jetwin] , mytxt, 500, &m_tipWindow, &myrect); // wxRichToolTip tip("title", ...
by Wolfgang
Wed Mar 20, 2019 6:41 pm
Forum: C++ Development
Topic: Rich Text Format
Replies: 36
Views: 1333

Re: Rich Text Format

I loaded now the rtl format and saved it into a new column in xml format and will use for my programm only the xml format, so that is solved now.
by Wolfgang
Tue Mar 19, 2019 8:53 pm
Forum: Database Related
Topic: problem with update
Replies: 4
Views: 951

Re: problem with update

Solved with

Code: Select all

	wxInt16 test = oldt.Replace("'", "''");
Sqlite printf did not work
by Wolfgang
Tue Mar 19, 2019 8:07 pm
Forum: Database Related
Topic: problem with update
Replies: 4
Views: 951

problem with update

I get an exception, when I execute it. Inside the richtext should be something like the file in the zip. wxString oldt; wxRichTextXMLHandler *handler{ new wxRichTextXMLHandler }; wxStringOutputStream out; handler->SetFlags(handler->GetFlags() | wxRICHTEXT_HANDLER_INCLUDE_STYLESHEET); m_befe2->GetBuf...
by Wolfgang
Tue Mar 19, 2019 1:53 pm
Forum: Database Related
Topic: complicated select
Replies: 5
Views: 1443

Re: complicated select

Is there a way to not show duplicates?
by Wolfgang
Sun Mar 17, 2019 6:30 pm
Forum: Database Related
Topic: complicated select
Replies: 5
Views: 1443

complicated select

Here a small sample word book chapter vers test 1 1 1 me 1 1 1 test 1 1 2 not 1 1 2 me 2 1 1 test 2 1 1 How would a select look like if I need to find all occourences where word="test" and word="me" and book,chapter and verse are the same. Meaning finding all verses where test and me is in it. In a ...
by Wolfgang
Mon Mar 11, 2019 8:07 pm
Forum: C++ Development
Topic: Rich Text Format
Replies: 36
Views: 1333

Re: Rich Text Format

Here is a sample file what I used. Yes, i get the leaks with that file. It also displays an error about a missing font. I guess the rtfreader code doesn't handle that situation properly and causes these leaks. But i don't have time to dig deeper into this at the moment. Ok,at least I'm not totally ...