|
-
May 10th, 1999, 09:03 AM
#1
How to create more tasks in windows?
I have following problems:
I created modalless dialog and I created a function, which bake up database and resources writes to window (e. g. by m_pArchivDlg->m_StaticTable.SetWindowText(_Table) . In this window I wanna add a button (Cancel), but this button do not have a focus. I cannot click here, because all time is taken by baking up function.
How to code it?
-
May 10th, 1999, 09:35 AM
#2
Re: How to create more tasks in windows?
You can do it in two ways.
1. Show the cancel button dialog in another thread
2. Sprinkle PeekMessage() loops in your back up function.
For Cancel operation 2nd method is more recommended as it will avoid System's overhead for managing another thread. Look into VC++ help for more details.
[email protected]
B'lore,
India.
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
|