Search found 93 matches
- Mon Oct 17, 2016 2:44 pm
- Forum: C++ Development
- Topic: Get wxMenu popup width
- Replies: 4
- Views: 1315
Get wxMenu popup width
Is there any way to get wxMenu popup width? I want to calculate the wxMenu popup width before calling PopupMenu() API. Using the width I want to calculate the popup menu position.
- Sat Sep 17, 2016 8:14 am
- Forum: C++ Development
- Topic: Android App like Tour implementation in wxWidgets C++
- Replies: 2
- Views: 1346
Android App like Tour implementation in wxWidgets C++
I want to implement tour slides very similar to android app tour. [img] download.png [/img] Requirement: 1. Semi-transparent popup window on top of Frame window of my application. 2. Fully visible child controls (wxStaticText, wxButton, Drawing Lines on transparent parent) I tried SetTransparent(), ...
- Thu Aug 25, 2016 11:53 am
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
What about this: Bind(wxEVT_DATAVIEW_SELECTION_CHANGED, [=](wxDataViewEvent& evt){ GetSelections(m_selections); evt.Skip(); }); Bind(wxEVT_IDLE, [=](wxIdleEvent& evt){ SetSelections(m_selections); evt.Skip(); }); I am assuming that wxIdleEvent will be fired always in any update in the wxData...
- Thu Aug 25, 2016 6:47 am
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
Did we found any workaround for this issue with modifying wxWidgets.
This issue happening in any case that causes the change in position of item in the list.
E.g. Sorting, Adding a new item, Deleting, Updating a item.
This issue happening in any case that causes the change in position of item in the list.
E.g. Sorting, Adding a new item, Deleting, Updating a item.
- Thu Jun 23, 2016 7:07 am
- Forum: C++ Development
- Topic: Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac
- Replies: 1
- Views: 595
Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac
Drawing is not correct wxRendererNative::Get().DrawPushButton() on Mac, whereas other drawings (DrawCheckBox, DrawRadioBitmap) are perfect. In the attached screen shot, 4 buttons are there. Hold : wxButton Process and Hold : wxRendererNative::Get().DrawPushButton() checkbox : wxRendererNative::Get()...
- Tue Jun 21, 2016 10:27 am
- Forum: Platform Related Issues
- Topic: set Font generic wxDataViewCtrl on Mac
- Replies: 1
- Views: 1103
Re: set Font generic wxDataViewCtrl on Mac
Yeah, It was very simple. wxDataViewCtrl is a composite control (wxDataViewHeaderWindow and wxDataViewMainWindow).
Both wxDataViewHeaderWindow and wxDataViewMainWindow uses the font of its parent. wxDataViewCtrl in this case.
Just I need to use wxDataViewCtrl::SetFont() and things work.
Both wxDataViewHeaderWindow and wxDataViewMainWindow uses the font of its parent. wxDataViewCtrl in this case.
Just I need to use wxDataViewCtrl::SetFont() and things work.
- Tue Jun 21, 2016 10:09 am
- Forum: Platform Related Issues
- Topic: Generic wxDataViewCtrl Header height is not proper on Mac
- Replies: 1
- Views: 1088
Re: Generic wxDataViewCtrl Header height is not proper on Mac
Found a way to solve this issue. wxRendererNative has the following virtual function // Returns the default height of a header button, either a fixed platform // height if available, or a generic height based on the window's font. virtual int GetHeaderButtonHeight(wxWindow *win) = 0; As I am using t...
- Fri Jun 17, 2016 3:44 am
- Forum: Platform Related Issues
- Topic: Strange behaviour of wxDataViewCtrl on Mac
- Replies: 7
- Views: 2071
Re: Strange behaviour of wxDataViewCtrl on Mac
In one place of my application, I am using huge customisation (full colourful drawing) in wxDataViewCtrl via custom renderers . Initially I develop on Windows, and when I tried the native implementation on Mac, things went horrible. I found issues like: 1. Few functions are not available in native i...
- Thu Jun 16, 2016 11:56 am
- Forum: Platform Related Issues
- Topic: Strange behaviour of wxDataViewCtrl on Mac
- Replies: 7
- Views: 2071
Re: Strange behaviour of wxDataViewCtrl on Mac
I tried with wx3.1 on the same 10.11, I am not facing that much distortion. But still it has issue with paint. Whenever I click on a header, all the header left to clicked header, text goes blur. If click 4 to 5 times, leads to kind of unreadable header text. Please check the screen shot attached. S...
- Thu Jun 16, 2016 11:18 am
- Forum: Platform Related Issues
- Topic: set Font generic wxDataViewCtrl on Mac
- Replies: 1
- Views: 1103
set Font generic wxDataViewCtrl on Mac
Default font size in generic wxDataViewCtrl does not look good. Row and Header height is less to accommodate rendered text height. Off course SetRowHeight() function is available, we can increase the row height, but big text does not look good. Is there any way to set the font size in generic wxData...
- Thu Jun 16, 2016 11:09 am
- Forum: Platform Related Issues
- Topic: Generic wxDataViewCtrl Header height is not proper on Mac
- Replies: 1
- Views: 1088
Generic wxDataViewCtrl Header height is not proper on Mac
I am using generic wxDataViewCtrl on Mac. wxDataViewCtrl Header height is not proper on Mac. It is very less, Please check the screen shot. Is there any way to increase the height? I tried to get HeaderWindow and tried to set SetSize(-1, 40). It is not honoured. code snippet to get header window: wx...
- Wed Jun 08, 2016 3:42 am
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
iwbnwif,
What should be the action item, I feel it is a bug.
What should be the action item, I feel it is a bug.
- Tue Jun 07, 2016 5:55 pm
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
As a end user behaviour must be same, whether it is generic implementation of wxDataViewCtrl/wxDataViewListCtrl or native one. It should be same as standard list control.
- Tue Jun 07, 2016 5:28 pm
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
I missed one important information. I am using wxDataViewCtrl generic implementation on both Windows and OSX.
- Tue Jun 07, 2016 4:57 pm
- Forum: C++ Development
- Topic: Row selection in wxDataViewCtrl is based on index basis
- Replies: 23
- Views: 5816
Re: Row selection in wxDataViewCtrl is based on index basis
I did not create a native list control, but I checked windows task manager and Add Remove Programs both of them use SysListView32 window class. They retain list row than row index. I checked with Microsoft outlook also (it is not a SysListView32 class, it is a custom control), but it shows the same ...