Search found 22 matches

by praks411
Tue Sep 30, 2014 10:41 am
Forum: C++ Development
Topic: Reordering column in wxGrid using mouse drag and drop
Replies: 2
Views: 922

Re: Reordering column in wxGrid using mouse drag and drop

I've found a work around for the problem. However it is not an elgant way. I've capture mouse event (left button down and up) and motion event, in which I'm trying to guess if user is draging the column. But saving the start and end column position and finally using SetColPos. I've manage to impleme...
by praks411
Mon Sep 29, 2014 8:52 am
Forum: C++ Development
Topic: Reordering column in wxGrid using mouse drag and drop
Replies: 2
Views: 922

Reordering column in wxGrid using mouse drag and drop

Hi, I'm trying to enable column reordering in wxGrid table by dragging the column headers of the table but till now no success. I thought the column drag is enabled by default. Still I've enabled them explicitly in wxGrid init. Still it is not working this->EnableDragGridSize(); this->EnableDragColM...
by praks411
Sat Sep 27, 2014 11:48 pm
Forum: C++ Development
Topic: wxTooltip in wxGrid
Replies: 3
Views: 1489

Re: wxTooltip in wxGrid

To add to the previous post regarding tooltip (wxToolTip) in wxGrid, the above method does not enable the tooltip on the headers of the column. To enable to the tooltip for header user GetGridColLabelWindow() instead of GetGridWindo(). Connection mouse motion event to GridColLabelWindow. GetGridColL...
by praks411
Sat Sep 27, 2014 2:02 pm
Forum: C++ Development
Topic: wxTooltip in wxGrid
Replies: 3
Views: 1489

Re: wxTooltip in wxGrid

Hi Doublemax, Thanks for the reply, yes that was my mistake. I'm able to display the tool tip on wxGrid. It is working now below are the steps which. I hope this may help someone. 1. First connect mouse motion event to wxGrid window. GetGridWindow()->Connect(GetGridWindow()->GetId(), wxEVT_MOTION, w...
by praks411
Fri Sep 26, 2014 5:10 pm
Forum: C++ Development
Topic: wxTooltip in wxGrid
Replies: 3
Views: 1489

wxTooltip in wxGrid

Hi I'm trying to enable tooltip in wxGrid based table. I tried many options discussed in the forum but still struggling with it. 1. First thing I tried to enable tooltip in the init function of wxGrid. Below is this snippet of code. wxToolTip*tp = this->GetToolTip(); tp->Enable(true); tp->SetDelay(1...
by praks411
Mon Aug 25, 2014 12:58 pm
Forum: C++ Development
Topic: Change font size of wxMenuBar
Replies: 0
Views: 841

Change font size of wxMenuBar

Hi I 'm running into a situation in which I'm required to change the font size of whole wxWidgets application. I'm using following code snippet to change the font of main application window and all the child windows. wxFont f = MAIN_FRAME->GetFont(); int a = f.GetPointSize(); f.SetPointSize(6); MAIN...
by praks411
Wed Aug 13, 2014 10:41 am
Forum: C++ Development
Topic: Software version list using wxRegKey
Replies: 0
Views: 641

Software version list using wxRegKey

Hi, I'm trying to create list of installed software along with there version. For this I'm using wxRegKey to iterate over all the subkeys under "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall". To get actual name of the software and version, I'm using DisplayName and Dis...
by praks411
Wed Jul 23, 2014 11:21 am
Forum: wxCode
Topic: wxPdfDocument with wxWidgets 3.0 font manager failing
Replies: 6
Views: 2654

Re: wxPdfDocument with wxWidgets 3.0 font manager failing

Hi Ulrich,

Thank you for your help and response. It is working now there was some problem in my Visual studio build.

Best Regards
Pradeep
by praks411
Wed Jul 23, 2014 8:48 am
Forum: wxCode
Topic: wxPdfDocument with wxWidgets 3.0 font manager failing
Replies: 6
Views: 2654

Re: wxPdfDocument with wxWidgets 3.0 font manager failing

Hi Utrich, Thank you for your reply and suggestions. It is clear now there is some build issue at my side and wxModule mechanism is not working. Can you please share what changes you have done when you compiled wxpdfdoc-0.9.4 with wxWidgets-3.0.0 with Visual Studio. Currently I'm doing changes manua...
by praks411
Tue Jul 22, 2014 10:53 am
Forum: wxCode
Topic: wxPdfDocument with wxWidgets 3.0 font manager failing
Replies: 6
Views: 2654

Re: wxPdfDocument with wxWidgets 3.0 font manager failing

Hi Ulrich, Many thanks for the detailed explanation. Please find below some of the answers 1. Version of wxWidgets-3.0.0 with wxpdfdoc-0.9.4 2. Build using MS Visual Studio 2013 on Windows 7 64 bit machine, application mode 32bit debug build. 3. Regarding the function SetFont, i tried using both the...
by praks411
Mon Jul 21, 2014 10:36 am
Forum: wxCode
Topic: wxPdfDocument with wxWidgets 3.0 font manager failing
Replies: 6
Views: 2654

wxPdfDocument with wxWidgets 3.0 font manager failing

Hi I'm using wxPdfDoc-0.9.4 to generate certain pdf report, it was working perfectly with wxWidget-2.9 until recently we switched to wxWidgets-3.0. I'm getting exception in wxpdfdoc. During debugging I found that when I'm calling SetFont(wxT("Arial"), wxT("B"), 10) from my application code which fin...
by praks411
Thu Jul 10, 2014 3:19 pm
Forum: C++ Development
Topic: wxSlider moving only in one direction when press and slide
Replies: 4
Views: 1476

Re: wxSlider moving only in one direction when press and sli

Yes I think custom slider is the solution for this.
Thank you the suggestion.

Thanks and Regards,
Pradeep
by praks411
Thu Jul 10, 2014 1:31 pm
Forum: C++ Development
Topic: wxSlider moving only in one direction when press and slide
Replies: 4
Views: 1476

Re: wxSlider moving only in one direction when press and sli

Hi, Thanks for your reply. I'm using wxWidgets 3.0.0 on Windows 7 with Visual studio 2013 32bits build. I also tried the samples/controls.cpp example which uses wxSlider. This too has the same above behavior. I've describe this behavior once again on wxSlider with range (0, 200) Let say present posi...
by praks411
Wed Jul 09, 2014 3:34 pm
Forum: C++ Development
Topic: wxSlider moving only in one direction when press and slide
Replies: 4
Views: 1476

wxSlider moving only in one direction when press and slide

Hi, I'm using wxSlider to implement frame slider for multimedia player panel. The slider is use to seek any frame both forward and backward. Though it is working fine for most of the cases. There is just one case where I'm stuck related to sliding of slider keeping the left mouse button pressed. I'm...
by praks411
Sun Mar 09, 2014 4:44 pm
Forum: C++ Development
Topic: wxAutomationobject with powerpoint, vba code conversion
Replies: 7
Views: 1849

Re: wxAutomationobject with powerpoint, vba code conversion

Thanks, I'll look into wxAutoExcel to get more insight.