Search found 100 matches

by Wolfgang
Thu Sep 19, 2019 12:07 pm
Forum: C++ Development
Topic: wxtreectrl get item with description
Replies: 1
Views: 29

wxtreectrl get item with description

I know in a trreevent I get the item Description like that: wxTreeItemId test; test = event.GetItem(); MyTreeItemData *item = (MyTreeItemData *)m_treeCtrl->GetItemData(test); wxString help, help1, help2, help3; wxInt16 helpd1, helpd2, helpd3; help = item->GetDesc(); But now I would need to select th...
by Wolfgang
Tue Sep 17, 2019 5:21 pm
Forum: C++ Development
Topic: multiple monitor display at old position
Replies: 3
Views: 84

Re: multiple monitor display at old position

Looks like you know me :D

Code: Select all

 w_scry << scrx;
Had it like that just before I saved the position, so x was all the time wrong, so it could not work, when loaded from database, otherwise it was still in the memory.
by Wolfgang
Tue Sep 17, 2019 1:25 pm
Forum: C++ Development
Topic: multiple monitor display at old position
Replies: 3
Views: 84

multiple monitor display at old position

frame6 = new MyFramebearb(this, sp_text[58], bearbx, bearby, 1530, 700); frame6->Show(true); in bearbx and bearby is the position of the window when it was last used. bearbx and bearby are global varibles loaded from a database. And they are loaded before the frame 6 is shown. So if I start the pro...
by Wolfgang
Tue Aug 27, 2019 3:41 pm
Forum: C++ Development
Topic: listbox problem
Replies: 4
Views: 92

Re: listbox problem

Figured the mistake out already. had a EVT_Listbox with wxID_ANy added before the one mentioned here. moved it, so it is now standing after that, now everything is working.
by Wolfgang
Tue Aug 27, 2019 6:28 am
Forum: C++ Development
Topic: listbox problem
Replies: 4
Views: 92

Re: listbox problem

yes, I'msaying that is not being fired.

To reproduce I would have to know what really causes this.

I had first only the one not working inside, just to check if dblick will work, I added the second one, and then dclick worked and the other still did not work, what left me with more questions.
by Wolfgang
Mon Aug 26, 2019 7:43 pm
Forum: C++ Development
Topic: listbox problem
Replies: 4
Views: 92

listbox problem

Code: Select all

EVT_LISTBOX(strlis, MyFrame::OnListBoxUpdate)
EVT_LISTBOX_DCLICK(strlis, MyFrame::OnListBoxUpdate)
Double click on the listbox triggers the function.
But any change at the listbox does not trigger it. (like single click and selection of another listitem)
Any idea where the mistake can be?
by Wolfgang
Mon Aug 26, 2019 7:00 pm
Forum: C++ Development
Topic: wxrichtextctrl search text
Replies: 1
Views: 73

Re: wxrichtextctrl search text

Not perfekt, but like this I could solve it. wxString smean; wxInt16 mlinb2 = 100; m_toolbe[count]->SelectWord(mlinb2); smean = m_toolbe[count]->GetStringSelection(); while (smean != "Meaning") { mlinb2=mlinb2 + 5; m_toolbe[count]->SelectWord(mlinb2); smean = m_toolbe[count]->GetStringSelection(); }...
by Wolfgang
Sun Aug 25, 2019 2:54 pm
Forum: C++ Development
Topic: wxrichtextctrl search text
Replies: 1
Views: 73

wxrichtextctrl search text

My problem is that if I search for the text with the following code, it finds it but the line found is not the first visible line, afterwards. Instead it would have to scroll much further (different as the text varies what is standing there). wxInt16 mlinb; mlinb = 0; wxString myline=" "; while (myl...
by Wolfgang
Sun Aug 18, 2019 2:22 pm
Forum: C++ Development
Topic: scrolling and size problem
Replies: 2
Views: 76

Re: scrolling and size problem

Thank you! Thought it would be something simple, what I just did not figure out.
by Wolfgang
Sun Aug 18, 2019 5:44 am
Forum: C++ Development
Topic: scrolling and size problem
Replies: 2
Views: 76

scrolling and size problem

Hello scroll_screen.jpg 1. The lower scrolling does not work, it is clickable, but does not scroll the above rows. 2. The width of the window/frame is not possible to make smaller. 3. How to fill the lower sizer with the buttons with background colour The calling code for the frame: bearbvn = set.Ge...
by Wolfgang
Wed Aug 07, 2019 7:57 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 93

Re: dataviewctrl

Is there a easy way to switch the col and row in showing (switch horizontal with vertical)? No, you'll have to adjust your model accordingly. Thanks, I feared that already, and had the same idea to rewrite the model, so that it will write the right things in the rows, and also add the needed column...
by Wolfgang
Wed Aug 07, 2019 6:12 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 93

Re: dataviewctrl

What I forgot to ask, is it possible to show htmllistbox also inside a dataviectrl? As one of the sources should be shown as html text.
by Wolfgang
Wed Aug 07, 2019 5:02 am
Forum: C++ Development
Topic: dataviewctrl
Replies: 3
Views: 93

dataviewctrl

Hello Is there a easy way to switch the col and row in showing (switch horizontal with vertical)? Meaning I will have different numbers of colunms. And in every row there will be a different source, but each row will have the same number of columns. Usually you have it like this: datasource1 datasou...
by Wolfgang
Fri Aug 02, 2019 7:42 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 195

Re: wxhtmlwindow alternative

thanks
by Wolfgang
Fri Aug 02, 2019 7:31 am
Forum: C++ Development
Topic: wxhtmlwindow alternative
Replies: 7
Views: 195

Re: wxhtmlwindow alternative

yes, the last one should work.