Search found 26 matches

by archman007
Sat Nov 07, 2020 4:14 pm
Forum: C++ Development
Topic: Change tree color of wxGenericDirCtrl
Replies: 4
Views: 161

Re: Change tree color of wxGenericDirCtrl

Thank you so much.

I was able to use your recommendation and it works well for me.

A similar approach allows me to change the font too!
by archman007
Sat Nov 07, 2020 2:07 pm
Forum: C++ Development
Topic: Change tree color of wxGenericDirCtrl
Replies: 4
Views: 161

Re: Change tree color of wxGenericDirCtrl

I will give it a shot.

My first thought is what if I need the tree to be blue instead of red?

Thanks
by archman007
Sat Nov 07, 2020 1:46 pm
Forum: C++ Development
Topic: Change tree color of wxGenericDirCtrl
Replies: 4
Views: 161

Change tree color of wxGenericDirCtrl

Here is my current version of wxWidgets.

Code: Select all

wx-config --version
3.1.4
I was attempting to access the tree cotrol by the followind.

Code: Select all

          wxTreeCtrl* wxGenericDirCtrl::GetTreeCtrl();
But no joy yet. What would be my best approach to change the background tree color?

Thanks
by archman007
Fri Nov 06, 2020 3:50 pm
Forum: C++ Development
Topic: wxGenericDirCtrl Example
Replies: 7
Views: 219

Re: wxGenericDirCtrl Example

I used wxSmith and dropped the control on the box sizer and all was well. wxSmith saves my bacon.
by archman007
Fri Nov 06, 2020 3:02 pm
Forum: C++ Development
Topic: wxGenericDirCtrl Example
Replies: 7
Views: 219

Re: wxGenericDirCtrl Example

Thank you sir. I will give it a shot!
by archman007
Fri Nov 06, 2020 2:49 pm
Forum: C++ Development
Topic: wxGenericDirCtrl Example
Replies: 7
Views: 219

Re: wxGenericDirCtrl Example

Thank you for responding. I need a directory tree of all the files from a specific sub directory. When I click on the control the sub folders should change revealing the files beneath. https://docs.wxwidgets.org/trunk/appear-genericdirctrl-gtk.png I would like fo the dialog to be visible and not be ...
by archman007
Fri Nov 06, 2020 2:28 pm
Forum: C++ Development
Topic: wxGenericDirCtrl Example
Replies: 7
Views: 219

wxGenericDirCtrl Example

I am attempting to use the wxGenericDirCtrl. My code is below but the control is not visible. Thanks in advance for all assistance provided. const wxString & name = wxTreeCtrlNameStr; long zind = 0; long style = wxDIRCTRL_DEFAULT_STYLE; const wxString & filter = "All files (*.*)|*.*|JPEG files (*.jp...
by archman007
Thu Nov 05, 2020 11:42 am
Forum: Compiler / Linking / IDE Related
Topic: How do I Compile wxWidgets Sample Code?
Replies: 34
Views: 8662

Re: How do I Compile wxWidgets Sample Code?

The simplest way to build the samples code is to traverse to the build locaion (~/apps/wxWidgets-3.1.4/build/samples) and invoke the make command (make -j4). All the samples are built for subsequent perusal and executions.
by archman007
Sun Sep 27, 2020 12:17 pm
Forum: C++ Development
Topic: Help with wxtreectrl
Replies: 5
Views: 1150

Re: Help with wxtreectrl

This example if full of errors and is mostly un usable. If there is zero proof of concept the offering probably should not be made.
by archman007
Sat Sep 26, 2020 10:00 pm
Forum: Platform Related Issues
Topic: Set background color for wxTextEntryDialog
Replies: 10
Views: 522

Re: Set background color for wxTextEntryDialog

Thank you for responding.

You da man!
by archman007
Sat Sep 26, 2020 1:03 pm
Forum: Platform Related Issues
Topic: Set background color for wxTextEntryDialog
Replies: 10
Views: 522

Re: Set background color for wxTextEntryDialog

While waiting for responses I began that process. The only drawback is when it time to select a file or directory that would be labor intensive. It make more sense to change the background color for the standard dialogs. The degree of difficulty to accomplish this is very high but is should not be. ...
by archman007
Fri Sep 25, 2020 2:26 pm
Forum: Platform Related Issues
Topic: Set background color for wxTextEntryDialog
Replies: 10
Views: 522

Re: Set background color for wxTextEntryDialog

Operating System: Kubuntu 20.10 KDE Plasma Version: 5.19.5 KDE Frameworks Version: 5.74.0 Qt Version: 5.14.2 Kernel Version: 5.8.0-19-generic OS Type: 64-bit Processors: 6 × Intel® Core™ i5-8600K CPU @ 3.60GHz Memory: 31.2 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 630 Here is my config...
by archman007
Fri Sep 25, 2020 2:12 pm
Forum: Platform Related Issues
Topic: Set background color for wxTextEntryDialog
Replies: 10
Views: 522

Re: Set background color for wxTextEntryDialog

wxTextEntryDialog dlg(



this, prompt, caption, wxInit,
(wxCANCEL | wxOK | wxTE_MULTILINE), wxPoint(50, 50));
this->SetBackgroundColour( * wxBLUE);
//dlg.SetBackgroundColour( * wxBLUE);

both attempts failed.
by archman007
Fri Sep 25, 2020 12:36 pm
Forum: Platform Related Issues
Topic: Set background color for wxTextEntryDialog
Replies: 10
Views: 522

Set background color for wxTextEntryDialog

Hello Folks,

I would like to change the background color for the wxTextEntryDialog.

I checked in this forum but did not find any examples.

How do I do that?

Thanks in Advance