Re: Help in creating dialog based application
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Mon, 12 Nov 2007 20:30:54 -0500
Have you considered a tabbed dialog with these being sheets in the tab?
Generally, you wouldn't want to destroy them; it is more likely you'd want to just hide
them. But the way you would notify the parent dialog to do anything is PostMessage
(normally SendMessage, but since you're about to destroy the dialog SendMessage would be a
bad idea.
joe
On Sun, 11 Nov 2007 22:12:41 -0800, Nash <jeevs007@xxxxxxxxx> wrote:
Hi,Joseph M. Newcomer [MVP]
I am creating a dialog based application which has a main dialog with
3 buttons.
1. Address Book
2. Student List
3. Course List
with which i can go to any one of the screens(which is again the
dialog). when i click address book button my main dialog should be
hidden/closed and i should open the address book dialog which has
again some button to navigate back to main dialog/student list/course
list. same kind of functionality for other two dialogs(student/course
list). i thought of creating all the 3 dialogs as modeless and main
dialog as parent but how i will inform the parent window to distroy
one window and create another window? for ex
if user clicks address book from main window and from there if he
clicks student list i have to close the address book and create
student list. how can i do it?
thanks in advance..
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- References:
- Help in creating dialog based application
- From: Nash
- Help in creating dialog based application
- Prev by Date: Re: MFC updates and enhancements
- Next by Date: Re: MainFrame message to View
- Previous by thread: Help in creating dialog based application
- Next by thread: Re: Help in creating dialog based application
- Index(es):
Relevant Pages
|