Search found 154 matches

by rakeshthp
Wed Oct 01, 2014 5:39 am
Forum: C++ Development
Topic: How to handle run-time crashes?
Replies: 7
Views: 1492

Re: How to handle run-time crashes?

Hi,

Any suggestion how to overcome this issue?

Thanks
Regards
by rakeshthp
Tue Sep 30, 2014 5:25 am
Forum: C++ Development
Topic: who can teach me how to use the wxwidgets class list?please!
Replies: 2
Views: 1052

Re: who can teach me how to use the wxwidgets class list?ple

Hello, First of all, I would suggest you to go through the samples that come along with the source code. They are good enough to learn how to use wxWidgets. Secondly, you need to provide some more code where your text box 'TC_Username' is instantiated. Still with the available code, I can figure out...
by rakeshthp
Mon Sep 29, 2014 5:48 am
Forum: C++ Development
Topic: How to handle run-time crashes?
Replies: 7
Views: 1492

Re: How to handle run-time crashes?

Hi, Well, in my case, the scenario is I have multiple VS2008 wxWidgets based projects. Out of them one is the main project that generates executable file. So this is the only project where I have my mainApp class which is derived from wxApp. Remaining other projects are generating .lib files which i...
by rakeshthp
Sat Sep 27, 2014 5:12 am
Forum: C++ Development
Topic: How to handle run-time crashes?
Replies: 7
Views: 1492

Re: How to handle run-time crashes?

Hello, I tried doing what you suggested. And I followed the example 'except' too. But my application doesn't enter in that function. I tried overriding both the functions: OnFatalException() and OnUnhandledException() Both the functions are not executed. So is it that I am missing something else, or...
by rakeshthp
Fri Sep 26, 2014 11:08 am
Forum: C++ Development
Topic: How to handle run-time crashes?
Replies: 7
Views: 1492

How to handle run-time crashes?

Hello, I wanted to know one thing. Is there any function in wxWidgets that is triggered when application crashes at run time? I want to know this because, I am doing some file operation. Before performing any file operation, I lock the file, and when the application crashes, the file remains locked....
by rakeshthp
Sat Aug 02, 2014 6:57 am
Forum: C++ Development
Topic: wxCopyFile query
Replies: 1
Views: 727

wxCopyFile query

Hi, I am using wxCopyFile in a part of my application. I would like to know whether this runs as a seperate thread or embedded in the same thread? What is happening is my code first makes a copy of a particular file, does some modifications in the temporary file and deletes old file, and rename new ...
by rakeshthp
Thu May 08, 2014 4:22 am
Forum: C++ Development
Topic: How to implement print option?
Replies: 1
Views: 574

How to implement print option?

Hi,

I want to implement print feature for my application which is graphics based. I am using wxGLCanvas for displaying graphical objects. On printing, the output from the wxGLCanvas must be saved into a file, or should come on the printer. Any clues how to proceed?

Thanks
by rakeshthp
Mon Dec 23, 2013 2:40 pm
Forum: C++ Development
Topic: wxThread event is not being triggered
Replies: 5
Views: 1192

Re: wxThread event is not being triggered

Well, it does. Becuase I get the output of the cout statements in the event handler. I still have my doubt uncleared,
"Is it that when dialog gets hidden, the thread events are not executed?"
Does the events of a hidden window get triggered?
by rakeshthp
Mon Dec 23, 2013 2:08 am
Forum: C++ Development
Topic: wxThread event is not being triggered
Replies: 5
Views: 1192

Re: wxThread event is not being triggered

Hi, Yes. The declaration is done in the header of the dialog class, and definition is in .cpp of dialog class. This header file is included in main GUI class, i.e. in the MainFrame.cpp In this class in PerformTask function executes this code in the for loop. wxQueueEvent(this, new wxThreadEvent(wxEV...
by rakeshthp
Sat Dec 21, 2013 5:10 am
Forum: C++ Development
Topic: wxThread event is not being triggered
Replies: 5
Views: 1192

wxThread event is not being triggered

Hi, I have a main wxFrame window. This runs in the main thread. From this window, on clicking a particular menu, pops up a wxDialog object. I key in the required input and click on OK button. Now the thing is the tasks to be performed when OK is clicked may take long time sometimes. So I tried using...
by rakeshthp
Thu Dec 19, 2013 2:08 pm
Forum: C++ Development
Topic: Handling GUI from child process
Replies: 4
Views: 1423

Re: Handling GUI from child process

For inter-process communication, shared_memory_object of boost c++ library is very efficient. we use the same. just give it a try..
by rakeshthp
Thu Dec 19, 2013 10:40 am
Forum: C++ Development
Topic: Running text based exe in new process
Replies: 9
Views: 2359

Re: Running text based exe in new process

Hi doublemax,

Is the solution you gave here, applicable for my problem also? On 3GHz system, the main process (GUI) responses late for mouse events.

Any suggestions?

Thanks
by rakeshthp
Thu Dec 19, 2013 1:35 am
Forum: C++ Development
Topic: Left double click event of wxGauge object.
Replies: 1
Views: 543

Left double click event of wxGauge object.

Hello,

Is there any way to catch & implement left double-click event for wxGauge object other than deriving my own class?

Thanks
by rakeshthp
Wed Dec 18, 2013 11:36 am
Forum: C++ Development
Topic: Running text based exe in new process
Replies: 9
Views: 2359

Re: Running text based exe in new process

Hello, I was able to do it with the above mentioned links. Thanks a lot. Now the problem is that the response of mouse click is very slow. I have three buttons, one is the start the process, one is to pause it, and other one to stop the process. The output of the process is shown in the textbox of t...
by rakeshthp
Fri Dec 13, 2013 11:20 am
Forum: C++ Development
Topic: Running text based exe in new process
Replies: 9
Views: 2359

Re: Running text based exe in new process

I'll try with that one and get back to you.

Thanks

Regards
Rakesh Patil