Search found 20 matches

by Adwaith
Thu Jun 21, 2018 10:50 am
Forum: Platform Related Issues
Topic: wxDataViewCtrl problem with Key event Linux
Replies: 0
Views: 664

wxDataViewCtrl problem with Key event Linux

Hi, I am using wxDataViewCtrl to view and modify the shortcut key combinations of certain panels that I can open. In windows, everything is working alright. I am facing this issue only in Red Hat . My wxWidgets version is 3.0.1 and RHEL version is 7.4. Let me come to my issue. I get the key combinat...
by Adwaith
Wed Apr 18, 2018 12:27 pm
Forum: Platform Related Issues
Topic: re:EVT_KILL_FOCUS problem
Replies: 2
Views: 2146

Re: re:EVT_KILL_FOCUS problem

Thanks a lot. This works great.
by Adwaith
Wed Apr 18, 2018 6:49 am
Forum: Platform Related Issues
Topic: re:EVT_KILL_FOCUS problem
Replies: 2
Views: 2146

re:EVT_KILL_FOCUS problem

Hi, I am using EVT_KILL_FOCUS to destroy my miniframe if my focus is lost. It seems to work fine in windows. I am using the same code without any change in RedHat Enterprise where my event does not get hit. EVT_KILL_FOCUS(MWListButtonControls::OnLostFocus) The one above is the event I am using and M...
by Adwaith
Fri Sep 02, 2016 11:56 am
Forum: C++ Development
Topic: Problem with Quantize
Replies: 6
Views: 631

Re: Problem with Quantize

Does the original image have an alpha channel? It appears it does not but if it has, as stated above you need to convert it to a mask. Additionally, it appears there may be in some situations issues both with wxQuantize and GIF saving . By the way, how comes the two images you posted for comparison...
by Adwaith
Fri Sep 02, 2016 9:32 am
Forum: C++ Development
Topic: Problem with Quantize
Replies: 6
Views: 631

Re: Problem with Quantize

If you want to save the before and after images for comparison, you shouldn't save them as GIF. For comparison, I am saving it as PNG. wxString Data; wxGetEnv(_U("HOMEPATH"), &Data); Data.append(_U("\\Temp\\")); wxString lfilepath; for (int i = 0; i < m_imgVec.size(); i++) { lfilepath = wxString::F...
by Adwaith
Fri Sep 02, 2016 8:14 am
Forum: C++ Development
Topic: Problem with Quantize
Replies: 6
Views: 631

Re: Problem with Quantize

The GIFHandler can only work with 8bit images, but normally images have 24 or 32bit. Quantize reduces them to 8bit. If you want to save the before and after images for comparison, you shouldn't save them as GIF. Use a another format, e.g. PNG. I am not saving the images as GIF. If you see in the fu...
by Adwaith
Fri Sep 02, 2016 6:38 am
Forum: C++ Development
Topic: Problem with Quantize
Replies: 6
Views: 631

Problem with Quantize

I am collecting a bunch of images and I am converting those images to GIF. The GIF handler is working fine. I got my desired output but I have a problem with the image. I am saving the image before quantize and after quantize in a temp location and then I came to know that there was a problem with t...
by Adwaith
Thu Aug 18, 2016 10:53 am
Forum: C++ Development
Topic: wxProgressDialog
Replies: 2
Views: 883

wxProgressDialog

Hi, I am using wxProgressDialog for importing data but after importing a series of data sequentially, it takes more time to complete. I checked using wxProgressDialog in samples with a couple of for loops and compared the same without using the progress dialog. The time difference for the process to...
by Adwaith
Tue Apr 12, 2016 7:11 am
Forum: General Development
Topic: Opening a third party app using wxWidgets
Replies: 3
Views: 761

Re: Opening a third party app using wxWidgets

Thanks a lot for your help :)
by Adwaith
Mon Apr 11, 2016 12:59 pm
Forum: General Development
Topic: Opening a third party app using wxWidgets
Replies: 3
Views: 761

Opening a third party app using wxWidgets

I am adding a button to wxToolBar. On clicking that button, I need to open MS Excel in wxFrame. Is there any possible way to do it?
by Adwaith
Tue Dec 15, 2015 11:12 am
Forum: C++ Development
Topic: wxTreeListCtrl::Refresh() function is not working in LINUX
Replies: 5
Views: 583

Re: wxTreeListCtrl::Refresh() function is not working in LINUX

@DenDev, I don't need to bother about scrollbar. Without Scrolling if I minimize and maximize my application then data is displaying properly. it is purely Draw issue. My main intention is to display the contents of the tree fully. please, Suggest any other ideas.
by Adwaith
Mon Dec 14, 2015 3:28 pm
Forum: Platform Related Issues
Topic: wxFileName:;Mkdir(Filepath,0777,wxPATH_MKDIR_FULL) is not working in LINUX
Replies: 1
Views: 569

wxFileName:;Mkdir(Filepath,0777,wxPATH_MKDIR_FULL) is not working in LINUX

Hi, I'm Trying to make a directory with path(eg:/user01/newpath) by using wxFileName::Mkdir with permission 0777. But the code is not working in some linux systems which has same specifications as like my system. the problem is after creating 'User01' folder it is not creating 'newpath' folder and I...
by Adwaith
Mon Dec 14, 2015 3:27 pm
Forum: C++ Development
Topic: wxTreeListCtrl::Refresh() function is not working in LINUX
Replies: 5
Views: 583

wxTreeListCtrl::Refresh() function is not working in LINUX

Hi, I have been working on wxWidgets. I have a problem with wxTreeListCtrl::Refresh() function. When i click on '+'or'-' to expand or collapse the tree, the tree is getting invisible partially and sometimes the content in the tree is getting overlapped. I thought this is refresh problem so, To fix t...
by Adwaith
Mon Nov 23, 2015 4:08 pm
Forum: C++ Development
Topic: Iconize
Replies: 9
Views: 714

Re: Iconize

Let me try it out with minimal and let you know. Thanks a lot for your assistance.