CDHTMLDialog Scroll ?
-
Could someone please let me know how I can get my CDHTMLDialog to scroll. I have tried "scroll = yes" in the Body tag of the html and setting the scrollbars in the dialog editor itself but niether seems to work. I have another app that scrolls just fine but his one will not cooperate. Any ideas. This must be a common newbie question :-O IDE: Visual Studio 2002 Lang: C++. Project: MFC Dialog Based TIA. Matt (Padawan Learner)
-
Could someone please let me know how I can get my CDHTMLDialog to scroll. I have tried "scroll = yes" in the Body tag of the html and setting the scrollbars in the dialog editor itself but niether seems to work. I have another app that scrolls just fine but his one will not cooperate. Any ideas. This must be a common newbie question :-O IDE: Visual Studio 2002 Lang: C++. Project: MFC Dialog Based TIA. Matt (Padawan Learner)
What the heck is this and why did it fix my problem? BOOL CAutoDlg::OnInitDialog() { SetHostFlags(DOCHOSTUIFLAG_NO3DBORDER);//enables scrolling??? CDHtmlDialog::OnInitDialog(); .... } Matt (Padawan Learner)
-
What the heck is this and why did it fix my problem? BOOL CAutoDlg::OnInitDialog() { SetHostFlags(DOCHOSTUIFLAG_NO3DBORDER);//enables scrolling??? CDHtmlDialog::OnInitDialog(); .... } Matt (Padawan Learner)
-
CDHtmlDialog::OnInitDialog() calls SetHostFlags(DOCHOSTUIFLAG_NO3DBORDER | DOCHOSTUIFLAG_SCROLL_NO). Your call clears DOCHOSTUIFLAG_SCROLL_NO flag and enables scroll bars.
Thanks! Matt (Padawan Learner)