Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Control over the PopertySheet Pin
Blake Miller22-Oct-04 4:14
Blake Miller22-Oct-04 4:14 
Generalrelation between Mouse event and show in taskbar Pin
yu-yu21-Oct-04 23:52
yu-yu21-Oct-04 23:52 
Generaldisplay bitmap on a control botton. Pin
Ibana21-Oct-04 23:26
Ibana21-Oct-04 23:26 
GeneralRe: display bitmap on a control botton. Pin
Ivan Cachicatari22-Oct-04 3:44
Ivan Cachicatari22-Oct-04 3:44 
Questionhow to use wave file in vc++ Pin
vc-programmer-21-Oct-04 21:28
vc-programmer-21-Oct-04 21:28 
AnswerRe: how to use wave file in vc++ Pin
Blake Miller22-Oct-04 4:16
Blake Miller22-Oct-04 4:16 
AnswerRe: how to use wave file in vc++ Pin
David Crow22-Oct-04 4:33
David Crow22-Oct-04 4:33 
QuestionOpen dialog? Pin
Larsson21-Oct-04 20:40
Larsson21-Oct-04 20:40 
Hello,
I have open a modless dialog winodws and I need to close the window. Is I do that i works but if I try to open the dialog again it fails.

So how can I open and close a modless dialog and it works?

I have a dialog and from that dialog I need to bring up a modless dialog and close so it needs to be open and close.

This is how I have done!

Main dialog.
m_modless.create(IDD_MODLESS);
m_modless.SHowWindow(SW_SHOW);

.... And the modless dialog is shown.
from the modless dialog I try to use
OnOK(); // To close the dialog and it works but I can NOT open the modless dialog again.
And I have try to use,
CModless m_mod;
m_mod.CloseWindow(); // and this do NOT work at al.

Please help me someone.
AnswerRe: Open dialog? Pin
C_M_21-Oct-04 21:17
C_M_21-Oct-04 21:17 
GeneralRe: Open dialog? Pin
Larsson21-Oct-04 21:19
Larsson21-Oct-04 21:19 
GeneralRe: Open dialog? Pin
benjymous21-Oct-04 23:07
benjymous21-Oct-04 23:07 
GeneralRe: Open dialog? Pin
Larsson21-Oct-04 23:35
Larsson21-Oct-04 23:35 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:53
Larsson23-Oct-04 6:53 
GeneralRe: Open dialog? Pin
benjymous23-Oct-04 20:17
benjymous23-Oct-04 20:17 
AnswerRe: Open dialog? Pin
BlackDice22-Oct-04 3:19
BlackDice22-Oct-04 3:19 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:54
Larsson23-Oct-04 6:54 
AnswerRe: Open dialog? Pin
David Crow22-Oct-04 4:40
David Crow22-Oct-04 4:40 
GeneralRe: Open dialog? Pin
Larsson23-Oct-04 6:54
Larsson23-Oct-04 6:54 
GeneralRe: Open dialog? Pin
David Crow25-Oct-04 2:50
David Crow25-Oct-04 2:50 
Questionclose dialog? Pin
Larsson21-Oct-04 20:39
Larsson21-Oct-04 20:39 
AnswerRe: close dialog? Pin
V.21-Oct-04 21:01
professionalV.21-Oct-04 21:01 
GeneralRe: close dialog? Pin
Larsson21-Oct-04 21:05
Larsson21-Oct-04 21:05 
GeneralRe: close dialog? Pin
Larsson21-Oct-04 21:07
Larsson21-Oct-04 21:07 
GeneralRe: close dialog? Pin
V.21-Oct-04 21:27
professionalV.21-Oct-04 21:27 
GeneralRe: close dialog? Pin
Larsson21-Oct-04 21:31
Larsson21-Oct-04 21:31 

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.