Click here to Skip to main content
15,908,673 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDraw Icon Pin
StuartHall3-May-03 22:00
StuartHall3-May-03 22:00 
GeneralMFC vs VB Pin
atif_3-May-03 21:38
atif_3-May-03 21:38 
GeneralRe: MFC vs VB Pin
jhaga4-May-03 0:02
professionaljhaga4-May-03 0:02 
GeneralRe: MFC vs VB Pin
Brian Shifrin4-May-03 2:43
Brian Shifrin4-May-03 2:43 
GeneralRe: MFC vs VB Pin
João Paulo Figueira4-May-03 6:54
professionalJoão Paulo Figueira4-May-03 6:54 
GeneralMenu driven console program --- professional suggestion needed. Pin
Link26003-May-03 17:17
Link26003-May-03 17:17 
GeneralRe: Menu driven console program --- professional suggestion needed. Pin
jhaga4-May-03 1:14
professionaljhaga4-May-03 1:14 
GeneralDialog application opinion needed Pin
Steve Messer3-May-03 15:51
Steve Messer3-May-03 15:51 
I am trying to re-create the dialog functionality of a program called myHTPC ( www.myhtpc.net ).

I am new to gui programming so please bare with me. The above mentioned program is coded in Delphi 7 so I image that it uses forms. The functionality that I am trying to reproduce is the following:

The application consists of multiple dialogs ( very possibly many ):

Main Dialog: which can go to a music module and a slide show module. exiting the music or slide show module would bring you back to the main dialog. So with nested dialogs you can always go back to the previous dialog until you get back to the main dialog.

If you go to the music module and play a file then go back to the main dialog then select slide show the music should remain playing.

First off I am looking for theory not code so don't be alarmed. Each dialog would be full screen.

Questions:

1) Would you use a different dialog for each module or dynamically create each module when
selected.
2) Would you destroy each dialog as you create a new one or would you just display the new one
over the top of the previous one.
3) My final question ( for now ) is that of scope. How or where would you instaniate your objects
such that they won't be destroyed if I close the dialog that is controlling it.

Well I hope I explained myself well enough for someone to understand my question. Any advice or pointers would be appreciated.

Thanks,

Steve





GeneralRe: Dialog application opinion needed Pin
jhaga4-May-03 2:17
professionaljhaga4-May-03 2:17 
GeneralRe: Dialog application opinion needed Pin
Steve Messer4-May-03 2:50
Steve Messer4-May-03 2:50 
GeneralRe: Dialog application opinion needed Pin
jhaga4-May-03 3:19
professionaljhaga4-May-03 3:19 
GeneralRe: Dialog application opinion needed Pin
Steve Messer4-May-03 3:30
Steve Messer4-May-03 3:30 
GeneralRe: Dialog application opinion needed Pin
Brian Shifrin4-May-03 2:59
Brian Shifrin4-May-03 2:59 
GeneralRe: Dialog application opinion needed Pin
Steve Messer4-May-03 3:27
Steve Messer4-May-03 3:27 
GeneralRe: Dialog application opinion needed Pin
Brian Shifrin4-May-03 23:58
Brian Shifrin4-May-03 23:58 
GeneralRe: Dialog application opinion needed Pin
Steve Messer5-May-03 5:29
Steve Messer5-May-03 5:29 
GeneralRe: Dialog application opinion needed Pin
Joan M4-May-03 22:13
professionalJoan M4-May-03 22:13 
GeneralRe: Dialog application opinion needed Pin
Steve Messer5-May-03 5:31
Steve Messer5-May-03 5:31 
GeneralRe: Dialog application opinion needed Pin
Joan M5-May-03 5:45
professionalJoan M5-May-03 5:45 
GeneralRe: Dialog application opinion needed Pin
Steve Messer5-May-03 7:45
Steve Messer5-May-03 7:45 
GeneralRe: Dialog application opinion needed Pin
Joan M5-May-03 21:09
professionalJoan M5-May-03 21:09 
GeneralRe: Dialog application opinion needed Pin
Anonymous6-May-03 11:18
Anonymous6-May-03 11:18 
GeneralRe: Dialog application opinion needed Pin
Joan M7-May-03 3:28
professionalJoan M7-May-03 3:28 
GeneralRe: Dialog application opinion needed Pin
Joan M5-May-03 6:02
professionalJoan M5-May-03 6:02 
GeneralDetermine PID from DLL Pin
nemo3-May-03 15:18
nemo3-May-03 15:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.