Search found 57 matches

by nandakishore
Wed Jul 12, 2017 1:38 pm
Forum: C++ Development
Topic: Re: How to make the lines smooth using wxDC
Replies: 3
Views: 980

Re: How to make the lines smooth using wxDC

I have highlighted the aliased line in the image below for your reference. Capture.PNG Also, have you drawn both graphs using wxDC - what exactly is the comparison that is being made with these two images? I compared my output with a competing software. Only the first graph was drawn by me using wxD...
by nandakishore
Tue Jul 11, 2017 8:58 am
Forum: C++ Development
Topic: Re: How to make the lines smooth using wxDC
Replies: 3
Views: 980

Re: How to make the lines smooth using wxDC

I have attached two graph images. I am using wxDC to draw these lines in the graph. My problem is, the drawn lines are not clear enough. They have some disturbance as you can see smooth1.jpg when compared to the other graph smooth.jpg . What should I be doing in order to make these lines more sharper?
by nandakishore
Wed May 31, 2017 6:27 am
Forum: C++ Development
Topic: How to get the event when combobox option is selected or changed in wxGrid?
Replies: 2
Views: 483

Re: How to get the event when combobox option is selected or changed in wxGrid?

Thanks man .
I used it like below. it worked.

Code: Select all

m_grid->Connect(wxEVT_GRID_CELL_CHANGING, wxGridEventHandler(MyClass::OnCellChanged), NULL, this);
OnCellChanged(wxGridEvent& event)
by nandakishore
Tue May 30, 2017 2:22 pm
Forum: C++ Development
Topic: How to get the event when combobox option is selected or changed in wxGrid?
Replies: 2
Views: 483

How to get the event when combobox option is selected or changed in wxGrid?

Hi, I have wxGrid, in that for one cell there is a customized combobox. like below wxString strFirstChoices[3] = { "Continuous", "Discrete", "Design Path" }; m_grid->SetCellRenderer(m_iRowCounter, 7, new wxGridCellChoiceRenderer); m_grid->SetCellEditor(m_iRowCounter, 7, new wxFastComboEditor(3, strF...
by nandakishore
Tue May 30, 2017 2:12 pm
Forum: C++ Development
Topic: wxGrid with combobox (Choice Editor)
Replies: 5
Views: 2728

Re: wxGrid with combobox (Choice Editor)

How to get the event when combobox selection is changed?
by nandakishore
Mon May 29, 2017 2:51 pm
Forum: C++ Development
Topic: calling wxInitAllImageHandlers()
Replies: 1
Views: 459

calling wxInitAllImageHandlers()

Hi ,
I have a customized button which is prepared by using some PNG type images.
i instantiate the customized button multiple times.
Do i need to call this function wxInitAllImageHandlers() each time when i instantiate the button or
one time call is enough for my entire exe session?
Thanks.,
by nandakishore
Fri May 26, 2017 10:57 am
Forum: General Development
Topic: hi! I'm new here! pls help
Replies: 6
Views: 1257

Re: hi! I'm new here! pls help

No Problem please go through the following tutorial learn about classes , objects and inheritance. https://www.tutorialspoint.com/cplusplus/cpp_classes_objects.htm that is enough to start with wxWidgets. Then open samples of wxWidgets in visual studio run the project called "minimal" by making it as...
by nandakishore
Fri May 26, 2017 7:39 am
Forum: C++ Development
Topic: Using std::thread to create GUI
Replies: 2
Views: 610

Using std::thread to create GUI

Hi , I have a situation that my panel contains some 50 controls which is well organized in column manner with sizer. But to load the panel it is taking time like 2-3 seconds. In order to avoid this i used std::thread for each column(6 std::threads for 6 columns) and i joined them. But i'm facing a c...
by nandakishore
Fri May 19, 2017 11:29 am
Forum: C++ Development
Topic: Time taking to load if there are more controls in the panel
Replies: 8
Views: 1030

Re: Time taking to load if there are more controls in the panel

There are actually more than 20 controls in my panel. I have attached the image of my panel for your reference. Please find below the code I have used to add the controls to my panel. { pwxszrMainSizer = new wxBoxSizer(wxHORIZONTAL); //first column wxBoxSizer *pwxbxszFirstColumn = new wxBoxSizer(wxV...
by nandakishore
Mon May 15, 2017 5:43 pm
Forum: C++ Development
Topic: Time taking to load if there are more controls in the panel
Replies: 8
Views: 1030

Re: Time taking to load if there are more controls in the panel

Yes i'm loading three images which is part of the customized control but the images are not even 10kb size.
by nandakishore
Mon May 15, 2017 10:14 am
Forum: C++ Development
Topic: Time taking to load if there are more controls in the panel
Replies: 8
Views: 1030

Time taking to load if there are more controls in the panel

Hi , I have an issue with the panel loading and it is taking more time (2-3 seconds) if it has more controls like 10 combo boxes , 10 check boxes , 10 buttons and 2-3 customized buttons(just combination of two controls) . User is able to see the lag. Is there a way to solve this problem.? Thanks, Na...
by nandakishore
Fri Apr 14, 2017 3:18 pm
Forum: C++ Development
Topic: wxWidgets 2.8 will support in Windows 10 Version?
Replies: 8
Views: 738

Re: wxWidgets 2.8 will support in Windows 10 Version?

Hi ONEEYEMAN,
What is Git HEAD??
by nandakishore
Wed Apr 05, 2017 1:09 pm
Forum: C++ Development
Topic: Problem with wxSetWorkingDirectory
Replies: 1
Views: 287

Problem with wxSetWorkingDirectory

Hi ,
i have been getting an error when i try to set directory by using following function
wxSetWorkingDirectory(path);

please check the attached image for error.

Thanks,
by nandakishore
Fri Mar 24, 2017 6:12 am
Forum: C++ Development
Topic: How to know when user switches between two different application?
Replies: 1
Views: 348

How to know when user switches between two different application?

Hi ,
i have a situation like there are two applications open in my desk one is wxWidgets app other is any normal app.
If user switches between these two apps how to know from my wxWidgets app that the focus of wxWidgets app is gone?