Search found 15 matches

by dhana
Wed Sep 02, 2015 10:47 am
Forum: C++ Development
Topic: Animated GIF quality varies from Visual studio 2008 and 2012
Replies: 8
Views: 1469

Re: Animated GIF quality varies from Visual studio 2008 and 2012

Yes,i accept .In 2012,I also tried in debug mode the output GIF seems fine,in release mode only it's broken.
by dhana
Mon Aug 24, 2015 10:54 am
Forum: C++ Development
Topic: Animated GIF quality varies from Visual studio 2008 and 2012
Replies: 8
Views: 1469

Re: Animated GIF quality varies from Visual studio 2008 and 2012

I attached multiple images in a zip.Try these images for testing
by dhana
Mon Aug 17, 2015 7:45 am
Forum: C++ Development
Topic: Animated GIF quality varies from Visual studio 2008 and 2012
Replies: 8
Views: 1469

Re: Animated GIF quality varies from Visual studio 2008 and 2012

METHOD 1: we have built libaries and samples of wxWidgets 3.0.2 in visual studio 2008 and modified the console sample with the above mentioned code. METHOD 2: we have built libaries and samples of wxWidgets 3.0.2 in visual studio 2012 and modified the console sample with the above mentioned code. Pl...
by dhana
Wed Aug 12, 2015 10:12 am
Forum: C++ Development
Topic: Animated GIF quality varies from Visual studio 2008 and 2012
Replies: 8
Views: 1469

Animated GIF quality varies from Visual studio 2008 and 2012

In the below code,Creating GIF Animation by list of images using wxGIFHandler class. CODE: // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop #endif // for all others, include the necessary headers (this file is usually all yo...
by dhana
Wed Aug 12, 2015 6:06 am
Forum: C++ Development
Topic: Destructor of wxDialog Issue
Replies: 4
Views: 1043

Destructor of wxDialog Issue

In wxWidgets 2.8.10,


In closeEvent Function of main application ,before closing the main application destroying the opened dialog,by calling dialog->Destroy() function.
But its not calling the destructor of wxDialog.Kindly reply
by dhana
Wed Feb 11, 2015 12:15 pm
Forum: C++ Development
Topic: how to create a Animated GIF using wxGIFHandler?
Replies: 2
Views: 744

how to create a Animated GIF using wxGIFHandler?

In wxWidgets 2.8.10,

I need create a animated GIF by list of images using wxGIFHandler.
Is any way to integrate it? reply
by dhana
Wed Feb 11, 2015 12:02 pm
Forum: C++ Development
Topic: how to set the wxPen color by using SetLogicalFunction
Replies: 1
Views: 559

how to set the wxPen color by using SetLogicalFunction

Here, I draw a rectangle for the given text. wxScreenDC dc; dc.SetLogicalFunction(wxINVERT); dc.SetPen (wxPen (wxColour(63 ,72,204), 2, wxSOLID)); dc.SetBrush (*wxTRANSPARENT_BRUSH); dc.DrawText( _T("There should be no text below"), 110, 150 ); dc.DrawRectangle( 110, y, 100, height ); In above code,...
by dhana
Mon Feb 09, 2015 6:05 am
Forum: C++ Development
Topic: how to get actual file size from wxImage without saving?
Replies: 2
Views: 787

how to get actual file size from wxImage without saving?

//I have loaded a bitmap "Sample.bmp" and whose actual/file size is 822 bytes. wxBitmap bitmap("C:\\Users\\DEPINDSOFT16\\Desktop\\Sample.bmp",wxBITMAP_TYPE_BMP); wxImage image = bitmap.ConvertToImage(); unsigned char* Data = image.GetData(); size_t DataSize = image.GetWidth()*image.GetHeight()*3;//b...
by dhana
Fri Dec 12, 2014 11:16 am
Forum: C++ Development
Topic: wxBusyInfo Hiding when move to other appication?
Replies: 6
Views: 1344

Re: wxBusyInfo Hiding when move to other appication?

Please Check Below Updated Code.But Still it disappears on top of the frame I can to able to see once I minimize the frame(while thread is processing), if I shift to other application and come back to my frame. /////////////////////////////////////////////////////////MyFrame.h///////////////////////...
by dhana
Fri Dec 05, 2014 10:01 am
Forum: C++ Development
Topic: wxBusyInfo Hiding when move to other appication?
Replies: 6
Views: 1344

Re: wxBusyInfo Hiding when move to other appication?

Now I removed wxThread->Wait()[check update code below] I am deleting wxBusyInfo in Pending Event.But Still it disappears(while thread is processing), if I shift to other application and come back to my frame. CODE: //// Above function called to start a task void MyFrame::OnButtonClick(wxCommandEven...
by dhana
Thu Dec 04, 2014 1:17 pm
Forum: C++ Development
Topic: wxBusyInfo Hiding when move to other appication?
Replies: 6
Views: 1344

Re: wxBusyInfo Hiding when move to other appication?

doublemax wrote:This is normal. wxBusyInfo doesn't have its own event loop, so it can't repaint itself when the application is busy.
I've updated the question now it should be clear to you , that main thread is not busy but the process thread is.
by dhana
Thu Dec 04, 2014 6:23 am
Forum: C++ Development
Topic: wxBusyInfo Hiding when move to other appication?
Replies: 6
Views: 1344

wxBusyInfo Hiding when move to other appication?

Hi, wxBusyInfo displaying properly when button event is triggered (check below code). Issue is, if I shift to other application and come back to MyFrame, wxBusyInfo disappears (although the main thread still waits for process thread to complete). //// Above function called to start a task void MyFra...
by dhana
Thu Dec 04, 2014 5:56 am
Forum: C++ Development
Topic: How to display comboBox Editor as default in wxGrid?
Replies: 2
Views: 713

Re: How to display comboBox Editor as default in wxGrid?

I need to make editor of entire column visible.
by dhana
Wed Dec 03, 2014 2:39 pm
Forum: C++ Development
Topic: How to display comboBox Editor as default in wxGrid?
Replies: 2
Views: 713

How to display comboBox Editor as default in wxGrid?

Hi, In wxWidgets 2.8.10, I am using wxGridCellChoiceEditor for ComboBox Grid, Problem is it appears once if use Leftmouse click.I want to display the combobox on the screen when opening on wxGrid for(int i = 0; i < grid->GetNumberRows(); i++) { wxString strChoices[2] = {"aaa", "bbb"}; grid->SetCellE...