|
-
August 16th, 2006, 07:06 PM
#1
How to run a process modally?
Process A starts process B. How does process A ensure that process B's window runs modally?
-
August 16th, 2006, 09:44 PM
#2
Re: How to run a process modally?
It's not under parent process's control, the child process (process B) should use functions like DialogBox or MFC CDialog:: DoModal to create it.
Regards,
Ramkrishna Pawar
-
August 17th, 2006, 04:20 AM
#3
Re: How to run a process modally?
 Originally Posted by Sathyaish
Process A starts process B. How does process A ensure that process B's window runs modally?
1) You mean, How would Process A know that Process B has shown a Window that is Modal? You can use the messaging.
If this is the case, then you can use some Flag in Process B and may check the Flag value from Process B by SendMessage()es, or the processes may do the otherwise.
2) Also, you can get the Process B window handle and do the DoModal yourself from Process A.
This is what I think you asked?
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
|