|
-
Oct 27th, 2003, 11:17 PM
#1
Thread Starter
Fanatic Member
MFC multiple dialogues
Hello!
Sorry for this newbie Q about MFC, but i'm just starting out and Microsoft seem to like making things confusing...
I am just making a simple app with multiple dialogue windows (kinda like what most simple VB progs look like).
I'm using MFC for this, so and am making a class for each dialogue (I understood that much)
However, i can't seem to open one dialogue from another. How is this done?
i.e. when i click a button in Dialogue1, i would like dialogue2 to open and be the active dialogue....
thanks
sql_lall 
-
Oct 28th, 2003, 12:40 PM
#2
In the button handler declare an instance of the second class and call DoModal (or Show) on it.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|