-
October 29th, 2009, 08:50 AM
#1
How to enable a button press during a loop of appending edit box in MFC
Hi,
I have a dialog window developed in visual c++.net 2003 MFC. I have a edit box in the dialog, and also a generate and Abort button. in my code, I have a while loop to append information into the edit box, the while loop may take for a long time, so I need to have a abort button can be able to pressed during the while loop. but it looks like any button are not activated while the edit box is updated. So I would like to know if there is a easy way that I can get the abort button pressed so that I can setup a flag to break the while loop.
Thanks a lot!
Christine
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|