Click here to Skip to main content
15,923,902 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Check if HWND is @ top of Z order Pin
Ravi Bhavnani25-Dec-08 10:56
professionalRavi Bhavnani25-Dec-08 10:56 
GeneralRe: Check if HWND is @ top of Z order Pin
Code-o-mat25-Dec-08 11:31
Code-o-mat25-Dec-08 11:31 
GeneralRe: Check if HWND is @ top of Z order Pin
Ravi Bhavnani25-Dec-08 12:29
professionalRavi Bhavnani25-Dec-08 12:29 
GeneralRe: Check if HWND is @ top of Z order Pin
Code-o-mat25-Dec-08 22:25
Code-o-mat25-Dec-08 22:25 
GeneralRe: Check if HWND is @ top of Z order Pin
Ravi Bhavnani26-Dec-08 9:56
professionalRavi Bhavnani26-Dec-08 9:56 
GeneralRe: Check if HWND is @ top of Z order Pin
Stuart Dootson25-Dec-08 22:45
professionalStuart Dootson25-Dec-08 22:45 
AnswerRe: Check if HWND is @ top of Z order Pin
Malli_S25-Dec-08 20:13
Malli_S25-Dec-08 20:13 
QuestionLong Running Program Pin
BobInNJ24-Dec-08 16:25
BobInNJ24-Dec-08 16:25 
I am currently working on a program which uses a GUI (written in C++ with MFC) to gather data from a user. When the user hits go, the program then analyzes the data and returns the results back to the user. The elapsed time between the time the user hits go and the results are returned is approximately 1 minute. In certain cases, it could be as high as 10 minutes. During that time, the program ignores any mouse clicks and when I bring up the Window’s task manager, the status of the program is that it is not responding. However, the calculations are complete, the program response as expected. However, for an end user, I do not believe that the program just hanging is acceptable. For example, if minimized and then restored it needs to be able to repaint the screen.

What should I do to remedy the situation? I am thinking that if I did the calculation in a separate thread that it would solve this problem. What do you think of this idea? Maybe somebody knows a better way to handle this situation.

Thanks

Bob
AnswerRe: Long Running Program Pin
Liu Xia24-Dec-08 17:22
Liu Xia24-Dec-08 17:22 
AnswerRe: Long Running Program Pin
Ravi Bhavnani24-Dec-08 18:42
professionalRavi Bhavnani24-Dec-08 18:42 
AnswerRe: Long Running Program Pin
dehseth25-Dec-08 19:08
dehseth25-Dec-08 19:08 
GeneralRe: Long Running Program Pin
Ravi Bhavnani26-Dec-08 11:35
professionalRavi Bhavnani26-Dec-08 11:35 
QuestionNeed help for numericupdwon Pin
sai5624-Dec-08 15:34
sai5624-Dec-08 15:34 
AnswerRe: Need help for numericupdwon Pin
Code-o-mat25-Dec-08 6:52
Code-o-mat25-Dec-08 6:52 
QuestionHow to write assignment operator for a class with constant member variable? Pin
ComplexLifeForm24-Dec-08 8:07
ComplexLifeForm24-Dec-08 8:07 
AnswerRe: How to write assignment operator for a class with constant member variable? Pin
Code-o-mat24-Dec-08 9:13
Code-o-mat24-Dec-08 9:13 
AnswerRe: How to write assignment operator for a class with constant member variable? Pin
Stuart Dootson24-Dec-08 13:15
professionalStuart Dootson24-Dec-08 13:15 
GeneralRe: How to write assignment operator for a class with constant member variable? Pin
ComplexLifeForm25-Dec-08 4:54
ComplexLifeForm25-Dec-08 4:54 
QuestionImage problem ? Pin
Le@rner24-Dec-08 0:24
Le@rner24-Dec-08 0:24 
AnswerRe: Image problem ? Pin
Naveen24-Dec-08 0:34
Naveen24-Dec-08 0:34 
GeneralRe: Image problem ? Pin
Le@rner24-Dec-08 0:42
Le@rner24-Dec-08 0:42 
GeneralRe: Image problem ? Pin
Naveen24-Dec-08 0:48
Naveen24-Dec-08 0:48 
GeneralRe: Image problem ? Pin
Hamid_RT24-Dec-08 0:51
Hamid_RT24-Dec-08 0:51 
GeneralRe: Image problem ? Pin
Code-o-mat24-Dec-08 6:03
Code-o-mat24-Dec-08 6:03 
AnswerRe: Image problem ? Pin
KASR124-Dec-08 1:47
KASR124-Dec-08 1:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.