Search found 25 matches

by gillp28
Fri Aug 23, 2019 3:19 am
Forum: C++ Development
Topic: WxComboBox White Dropdown
Replies: 10
Views: 1257

Re: WxComboBox White Dropdown

I have used that widget before but I don’t like how in windows the whole button doesn’t fill in with colour
by gillp28
Fri Aug 23, 2019 1:17 am
Forum: C++ Development
Topic: WxComboBox White Dropdown
Replies: 10
Views: 1257

Re: WxComboBox White Dropdown

I am trying to use the drop-down as a colour selection tool. When i click the combo box i don't want the white portion to appear so i tried dismissing it and as well change focus when the event is triggered but it still doesn't work.
by gillp28
Thu Aug 22, 2019 6:40 pm
Forum: C++ Development
Topic: WxComboBox White Dropdown
Replies: 10
Views: 1257

Re: WxComboBox White Dropdown

Hi,

I tried changing the focus but i still see the dropdown.

Thanks
by gillp28
Wed Aug 21, 2019 7:09 pm
Forum: C++ Development
Topic: WxComboBox White Dropdown
Replies: 10
Views: 1257

Re: WxComboBox White Dropdown

ComboBox.png
ComboBox.png (15.7 KiB) Viewed 1238 times
by gillp28
Wed Aug 21, 2019 4:37 pm
Forum: C++ Development
Topic: WxComboBox White Dropdown
Replies: 10
Views: 1257

WxComboBox White Dropdown

Hi, Does anyone know to get rid of the dropdown white portion in wxCombox? I tired using dismiss so it wouldn't show up but you can still see the dropdown white portion. void Project1Frame::onDropdown(wxCommandEvent& event) { wxColourDialog dialog; if (dialog.ShowModal() == wxID_OK) { wxColourDa...
by gillp28
Wed Aug 07, 2019 6:51 pm
Forum: C++ Development
Topic: Changing Background Colour of a wxListView Item
Replies: 3
Views: 748

Re: Changing Background Colour of a wxListView Item

Thanks. I also have a another problem. When i Initially start the program i only see one of the lists, but when i expand it I see all the lists and the buttons how they are supposed to be initially.
by gillp28
Wed Aug 07, 2019 4:03 pm
Forum: C++ Development
Topic: Changing Background Colour of a wxListView Item
Replies: 3
Views: 748

Changing Background Colour of a wxListView Item

I am trying to change the background colour of a wxListView Item. So every time the connect button is clicked it should change the item colour but so for some reason it is not working. wxPanel* mainPanel; //(*IdInit(MachineLearningLinkerFrame) const long MachineLearningLinkerFrame::ID_MENUITEM1 = wx...
by gillp28
Fri Aug 02, 2019 7:35 pm
Forum: C++ Development
Topic: WxPaintHandler
Replies: 7
Views: 859

Re: WxPaintHandler

Thanks that works. Now I am trying to draw a point based on the mouse event and for some reason, it is not working. /*************************************************************** * Name: MachineLearningLinkerMain.cpp * Purpose: Code for Application Frame * Author: () * Created: 2019-07-27 * Copyri...
by gillp28
Thu Aug 01, 2019 7:23 pm
Forum: C++ Development
Topic: WxPaintHandler
Replies: 7
Views: 859

Re: WxPaintHandler

I have gotten rid of the error. Anytime I try to draw something on the panel it is not visible. /*************************************************************** * Name: MachineLearningLinkerMain.cpp * Purpose: Code for Application Frame * Author: () * Created: 2019-07-27 * Copyright: () * License: *...
by gillp28
Thu Aug 01, 2019 6:15 pm
Forum: C++ Development
Topic: WxPaintHandler
Replies: 7
Views: 859

WxPaintHandler

I wanted to add the wxPaintDC to a panel and I am getting errors with it. I have added the EVT_PAINT Handler class as well. /*************************************************************** * Name: MachineLearningLinkerMain.cpp * Purpose: Code for Application Frame * Author: () * Created: 2019-07-27 ...
by gillp28
Tue Jul 23, 2019 8:58 pm
Forum: C++ Development
Topic: Adding TextCtrl to Every New Page WxNotebook
Replies: 5
Views: 539

Re: Adding TextCtrl to Every New Page WxNotebook

attempting to reference a deleted function 'wxRichTextCtrl::wxRichTextCtrl(const wxRichTextCtrl &)': function was implicitly deleted because a base class invokes a deleted or inaccessible function 'wxControl::wxControl(const wxControl &) that's just by adding the one line other than that it ...
by gillp28
Tue Jul 23, 2019 8:38 pm
Forum: C++ Development
Topic: Adding TextCtrl to Every New Page WxNotebook
Replies: 5
Views: 539

Re: Adding TextCtrl to Every New Page WxNotebook

I have added this recently and it works to create a new text ctrl. But i am unable to access the textctrl of the new page created. So I tried to add a vector list of RichTextCtrl but it gives me errors every time I try to append to it. std::vector<wxRichTextCtrl> textCtrlList; void wxTreeCtrlFrame::...
by gillp28
Tue Jul 23, 2019 5:59 pm
Forum: C++ Development
Topic: Adding TextCtrl to Every New Page WxNotebook
Replies: 5
Views: 539

Adding TextCtrl to Every New Page WxNotebook

I am trying to add the text ctrl to every new page that gets added. When the button is pressed. const long wxTreeCtrlFrame::ID_ADDNODE = wxNewId(); const long wxTreeCtrlFrame::ID_DeleteNode = wxNewId(); const long wxTreeCtrlFrame::ID_EditNode = wxNewId(); const long wxTreeCtrlFrame::ID_ChoiceBox = w...
by gillp28
Mon Jul 15, 2019 7:15 pm
Forum: C++ Development
Topic: Adding TextCtrl to WxNotebook
Replies: 2
Views: 463

Re: Adding TextCtrl to WxNotebook

Thanks, I got it.
by gillp28
Mon Jul 15, 2019 6:48 pm
Forum: C++ Development
Topic: Adding TextCtrl to WxNotebook
Replies: 2
Views: 463

Adding TextCtrl to WxNotebook

I am trying to add a wxRichTextCtrl to fit the whole page of a wxNotebook. But it is just making a small box in the corner. wxRichTextCtrl* textCtrl = new wxRichTextCtrl(page,wxID_ANY, ("Add Note"), wxDefaultPosition, wxDefaultSize, wxRE_MULTILINE, wxDefaultValidator); sizer->Add(textCtrl,...