I have an application that can take a few minutes to run and is a bit long. For organizational purposes I place the main functions in a separate class out of the main dialog area.
The problem I'm running into is that while a function is running inside of a class I can't use the DoDataExchange method of sending data from the program to the users screen. I want it to arrive inside an editbox.
I can also imagine in the future that if the function working against a large amount of data the user may want to hit the minimize button on the screen. Only problem is that the message to minimize the window will not be received until the function that has focus is completed.
Is there a way to create an alternative message pump that I can place inside my class function that will on occasion look and see if a message is waiting and if so process it.
I also need a way to do a dodataexchange from inside a function that is in a separate class outside of the main data area.
I've got to believe that these two functions are rather common, however I can't find them in the typical books. I suspect that since I'm such a beginner,,,and I am, I'm not searching on the right key-words.
Any help, include sample code, would be GREATLY appreciated.
thanks,
/jbs
The problem I'm running into is that while a function is running inside of a class I can't use the DoDataExchange method of sending data from the program to the users screen. I want it to arrive inside an editbox.
I can also imagine in the future that if the function working against a large amount of data the user may want to hit the minimize button on the screen. Only problem is that the message to minimize the window will not be received until the function that has focus is completed.
Is there a way to create an alternative message pump that I can place inside my class function that will on occasion look and see if a message is waiting and if so process it.
I also need a way to do a dodataexchange from inside a function that is in a separate class outside of the main data area.
I've got to believe that these two functions are rather common, however I can't find them in the typical books. I suspect that since I'm such a beginner,,,and I am, I'm not searching on the right key-words.
Any help, include sample code, would be GREATLY appreciated.
thanks,
/jbs