Search found 293 matches
- Thu Apr 19, 2018 12:13 pm
- Forum: C++ Development
- Topic: wxComboBox with different font in each line
- Replies: 1
- Views: 588
wxComboBox with different font in each line
Hi, I have a wxComboBox which works as font selector list. Means every entry in this combo box is the name of a font. Now I want to make this more user-friendly and not only show the name of the font but also how it looks like. So I want to set the font itself for each entry which would end up with ...
- Mon Jun 12, 2017 10:59 am
- Forum: Platform Related Issues
- Topic: Win10: UserConfigDir not writable
- Replies: 1
- Views: 602
Win10: UserConfigDir not writable
Hi, my application saves some UI-data on program exit and therefore makes use of this path: wxString sPath=wxStandardPaths::Get().GetUserConfigDir()+wxFileName::GetPathSeparator()+_T(".myconfigdata"); This works fine with all operating systems but not with later versions of Windows 10. There this fi...
- Thu Jun 08, 2017 8:39 am
- Forum: C++ Development
- Topic: wxWidgets does not use Windows theme
- Replies: 3
- Views: 1514
Re: wxWidgets does not use Windows theme
"Generate manifest" is enabled for all configurations. And the VS settings look the same like for all other applications that work well...
- Thu Jun 08, 2017 7:50 am
- Forum: C++ Development
- Topic: wxWidgets does not use Windows theme
- Replies: 3
- Views: 1514
wxWidgets does not use Windows theme
Hi, I'm running my wxWidgets application under Windows 7. There all buttons are shown in this flat, rounded style of the standard Win 7 theme, at least when I run it from within Visual Studio. Now under some strange conditions (which I don't really understand) it happens that the Win7 theme is not u...
- Fri May 12, 2017 11:10 am
- Forum: C++ Development
- Topic: Speed up filling a wxComboBox
- Replies: 1
- Views: 672
Speed up filling a wxComboBox
Hi, currently I add elements to a wxComboBox by calling Append(wxString). Now there is a scenario, where >2000 elements are added which is quite slow. So is there a possibility to do this is a faster way? E.g. by avoiding any updates in the wxComboBox until all calls to Append() have been done? Thanks
- Thu Apr 13, 2017 12:43 pm
- Forum: C++ Development
- Topic: Logging functionality
- Replies: 3
- Views: 822
Logging functionality
Hi, I know about wxLog but I'm not sure if it is really what I want to have (at least from what I understand in the documentation this is more for logging wxWidgets-internal events). What I want to do: log events out of my application into a file. All log entries are done by code within the applicat...
- Fri Apr 07, 2017 12:08 pm
- Forum: C++ Development
- Topic: Add wxPanel to a wxToolBar?
- Replies: 2
- Views: 693
Re: Add wxPanel to a wxToolBar?
You are of course right! MY mistake: I expected SetSizer() to be a member of wxPanel but since it is a member of wxWindow everything is fine. Thanks for kicking me into the right direction 

- Fri Apr 07, 2017 11:50 am
- Forum: C++ Development
- Topic: Catch wxScrolledWindow events
- Replies: 4
- Views: 1310
Re: Catch wxScrolledWindow events
May be this answer is a bit late ... just in case somebody else has a similar problem:
wxScrolledWindow has a EVT_SCROLLWIN which itself can be assigned to a function void OnScroll(wxScrollWinEvent& event) that receives the scroll events.
wxScrolledWindow has a EVT_SCROLLWIN which itself can be assigned to a function void OnScroll(wxScrollWinEvent& event) that receives the scroll events.
- Fri Apr 07, 2017 11:45 am
- Forum: C++ Development
- Topic: Add wxPanel to a wxToolBar?
- Replies: 2
- Views: 693
Add wxPanel to a wxToolBar?
Hello,
Is there a possibility to add a wxPanel (which itself contains a Layout and some control elements) to a wxToolBar? I only found some functions AddTool(), AddControl(),... which are not suitable for this.
Thanks!
Is there a possibility to add a wxPanel (which itself contains a Layout and some control elements) to a wxToolBar? I only found some functions AddTool(), AddControl(),... which are not suitable for this.
Thanks!
- Wed Jan 13, 2016 1:49 pm
- Forum: Platform Related Issues
- Topic: thread problem
- Replies: 6
- Views: 2916
Re: thread problem
What is "do_something()" - are you performing some GUI operations there?
- Wed Jan 13, 2016 11:03 am
- Forum: Platform Related Issues
- Topic: Background colour of checkboxes with Windows 7
- Replies: 0
- Views: 1562
Background colour of checkboxes with Windows 7
Hi, when running my wxWidgets application under Windows 7 with no changes made to the system-UI, the checkboxes come with a white text background: https://picload.org/image/wdgwiii/wxbackground.png Other elements like static texts do not show this behaviour. So what do I have to do to let the checkb...
- Fri Jun 19, 2015 1:15 pm
- Forum: C++ Development
- Topic: wxProgressDialog: hide or bring to background?
- Replies: 2
- Views: 782
Re: wxProgressDialog: hide or bring to background?
Yes, this did not let the message box appear on top of the progress dialogue...
- Fri Jun 19, 2015 11:02 am
- Forum: C++ Development
- Topic: wxProgressDialog: hide or bring to background?
- Replies: 2
- Views: 782
wxProgressDialog: hide or bring to background?
Hi, I'm opening a wxProgressDialog to show a longer running operation is in progress. During this operation some errors may happen which are noticed with a message box. My problem: in Release build the message box appears below of the wxProgressDialog. So I added a call wxProgressDialog->Hide() befo...
- Wed Jun 10, 2015 6:10 am
- Forum: C++ Development
- Topic: Get size/height of a font?
- Replies: 2
- Views: 1022
Get size/height of a font?
Hi,
is there a possibility to get the height of a font outside of an OnPaint()-event? The only method I found to evaluate a fonts size is by using GetTextExtent() which requires an OnPaints()'s wxDC...
Thanks!
is there a possibility to get the height of a font outside of an OnPaint()-event? The only method I found to evaluate a fonts size is by using GetTextExtent() which requires an OnPaints()'s wxDC...
Thanks!
- Tue Feb 10, 2015 12:14 pm
- Forum: C++ Development
- Topic: wxScrolledWindow: use maximum available height of screen
- Replies: 1
- Views: 756
wxScrolledWindow: use maximum available height of screen
Hi, I have a dialogue which can have a large height (elements in this dialogue are created dynamically). In some cases the necessary height of wxDialog could become larger than the available height on a screen. So I added a wxScrolledWindow that itself holds the panel where the elements are arranged...