Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 6:36
John R. Shaw29-Jul-05 6:36 
GeneralRe: #include problem Pin
massad29-Jul-05 6:50
massad29-Jul-05 6:50 
GeneralRe: #include problem Pin
John R. Shaw29-Jul-05 7:07
John R. Shaw29-Jul-05 7:07 
GeneralRe: #include problem Pin
Bob Stanneveld29-Jul-05 7:41
Bob Stanneveld29-Jul-05 7:41 
GeneralRe: #include problem Pin
Anacreon29-Jul-05 7:58
Anacreon29-Jul-05 7:58 
GeneralRe: #include problem Pin
David Crow29-Jul-05 8:26
David Crow29-Jul-05 8:26 
GeneralRe: #include problem Pin
sunit529-Jul-05 20:48
sunit529-Jul-05 20:48 
QuestionVC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:16
gunrunnerjohn29-Jul-05 5:16 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
S. Senthil Kumar29-Jul-05 5:22
S. Senthil Kumar29-Jul-05 5:22 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 5:40
gunrunnerjohn29-Jul-05 5:40 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Trollslayer29-Jul-05 12:33
mentorTrollslayer29-Jul-05 12:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
GuoChunLiang29-Jul-05 17:14
GuoChunLiang29-Jul-05 17:14 
GeneralSolved: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn30-Jul-05 7:58
gunrunnerjohn30-Jul-05 7:58 
AnswerRe: VC++ 2003 NET apps without NET installed? Pin
McClamm29-Jul-05 5:49
McClamm29-Jul-05 5:49 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 7:33
gunrunnerjohn29-Jul-05 7:33 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
Judah Gabriel Himango29-Jul-05 8:14
sponsorJudah Gabriel Himango29-Jul-05 8:14 
GeneralRe: VC++ 2003 NET apps without NET installed? Pin
gunrunnerjohn29-Jul-05 8:30
gunrunnerjohn29-Jul-05 8:30 
Generalline printing charset Pin
Anonymous (scp)29-Jul-05 4:56
sussAnonymous (scp)29-Jul-05 4:56 
GeneralRe: line printing charset Pin
Blake Miller29-Jul-05 5:29
Blake Miller29-Jul-05 5:29 
GeneralCDialog derived Child Pin
23_44429-Jul-05 3:19
23_44429-Jul-05 3:19 
I have an SDI application with a FormView. The FormView has two buttons. One opens a CDialog derived class that is Modal and a Child.
The other opens a CDialog derived class that is Modeless and a Child.

Everything works fine when the Child style is removed and WS_POPUP is applied.
When it is applied the dialogs open up but are

(Modal and Child)
behind Mainframe with no way to get at it except minimize Mainframe. After the minimization of Mainframe the dialog does not allow one to click on it (Frame titlebar is grayed. I believe the whole dialog box is disabled.

(Modeless and Child
appears but does not allow one to click on it as the Frame titlebar is grayed. I believe the whole dialog box is disabled.

Now understand everything works as it should with the WS_POPUP style. Switch that and I get problems. The ONLY difference is the style. What is wrong?

Thanks.


//Modal Child
void CParentExamplesView::OnButton3()
{
CModalChild cmd;
cmd.DoModal();

}

//Modeless Child
void CParentExamplesView::OnButton4()
{
if (!m_pModelessChildDialog)
m_pModelessChildDialog= new CModelessChild;

if (!::IsWindow(m_pModelessChildDialog->GetSafeHwnd()))
m_pModelessChildDialog->Create(IDD_DIALOG6, this);

m_pModelessChildDialog->ShowWindow(SW_SHOW);


}
GeneralRe: CDialog derived Child Pin
Blake Miller29-Jul-05 4:56
Blake Miller29-Jul-05 4:56 
GeneralRe: CDialog derived Child Pin
23_44429-Jul-05 5:49
23_44429-Jul-05 5:49 
GeneralRe: CDialog derived Child Pin
David Crow29-Jul-05 8:33
David Crow29-Jul-05 8:33 
GeneralRe: CDialog derived Child Pin
Anonymous29-Jul-05 8:39
Anonymous29-Jul-05 8:39 
GeneralRe: CDialog derived Child Pin
David Crow29-Jul-05 9:22
David Crow29-Jul-05 9:22 

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.