Click here to Skip to main content
15,891,708 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Cannot allocate memory with malloc?! Pin
toxcct22-Mar-05 21:19
toxcct22-Mar-05 21:19 
GeneralNeed help to get started on it Pin
Tahito22-Mar-05 7:53
Tahito22-Mar-05 7:53 
GeneralRe: Need help to get started on it Pin
Christian Graus22-Mar-05 14:15
protectorChristian Graus22-Mar-05 14:15 
GeneralRe: Need help to get started on it Pin
Tahito23-Mar-05 2:07
Tahito23-Mar-05 2:07 
GeneralQuery builder Pin
WildWildWind22-Mar-05 7:00
WildWildWind22-Mar-05 7:00 
GeneralQuestion About Mobile App Pin
Leyu22-Mar-05 6:21
Leyu22-Mar-05 6:21 
GeneralRe: Question About Mobile App Pin
toxcct22-Mar-05 21:12
toxcct22-Mar-05 21:12 
QuestionCan we displaying a form as a dialog? Pin
Santanu Lahiri22-Mar-05 6:05
Santanu Lahiri22-Mar-05 6:05 
Hi folks,

This is probably a very basic question, but I can't figure out a good answer.

I have CFormView-derived class that I display as an MDI child in my app. This works fine. However, under a specific circumstance, I need to display the same form from within a modal dialog, as a modal dialog, so that I can modify the data in the parent dialog after the child terminates.

I can, of course, duplicate the code and create a new dialog to do this. But I am hoping there may be a way I can use the same code as in the form view so that I do not have to maintain two sets of code for the same screen.

Can anyone point me to a way to do this? Or the other way round? That is, have the code in a modal dialog, but access it from a form view?

BTW, I am still

Thank you for your time.

AnswerRe: Can we displaying a form as a dialog? Pin
Ravi Bhavnani23-Mar-05 2:49
professionalRavi Bhavnani23-Mar-05 2:49 
GeneralSysTray Icon Pin
Menny Even Danan22-Mar-05 5:58
Menny Even Danan22-Mar-05 5:58 
GeneralRe: SysTray Icon Pin
David Crow22-Mar-05 7:22
David Crow22-Mar-05 7:22 
GeneralRe: SysTray Icon Pin
Menny Even Danan22-Mar-05 20:36
Menny Even Danan22-Mar-05 20:36 
GeneralWave File Manipulation Pin
RedDragon2k22-Mar-05 5:51
RedDragon2k22-Mar-05 5:51 
GeneralClipping a Dialog Window Pin
sweep12322-Mar-05 5:45
sweep12322-Mar-05 5:45 
Generalpc to cash register Pin
yunuskajee22-Mar-05 4:09
yunuskajee22-Mar-05 4:09 
GeneralRe: pc to cash register Pin
Renjith Ramachandran22-Mar-05 22:25
Renjith Ramachandran22-Mar-05 22:25 
GeneralRe: pc to cash register Pin
Cerebro91119-Mar-09 22:54
Cerebro91119-Mar-09 22:54 
GeneralSetting Default Soundcard Pin
peterchen22-Mar-05 3:34
peterchen22-Mar-05 3:34 
GeneralRe: Setting Default Soundcard Pin
Mircea Puiu22-Mar-05 4:36
Mircea Puiu22-Mar-05 4:36 
GeneralRe: Setting Default Soundcard Pin
peterchen22-Mar-05 5:41
peterchen22-Mar-05 5:41 
QuestionHow to display raw 12-bit image buffer? Pin
Ajay L D22-Mar-05 3:29
Ajay L D22-Mar-05 3:29 
AnswerRe: How to display raw 12-bit image buffer? Pin
Chris Losinger22-Mar-05 7:22
professionalChris Losinger22-Mar-05 7:22 
GeneralRe: How to display raw 12-bit image buffer? Pin
Ajay L D22-Mar-05 22:16
Ajay L D22-Mar-05 22:16 
GeneralMultilingual support in vc++ Pin
inbakumar.G22-Mar-05 3:14
inbakumar.G22-Mar-05 3:14 
GeneralRe: Multilingual support in vc++ Pin
Mircea Puiu22-Mar-05 4:14
Mircea Puiu22-Mar-05 4:14 

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.