Load HTML page on dialog in VC6
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
Hi,
In dialog box application, i create a html class on dialog and load a html
page.
When program execute the image doesn't completely covered dialog. On edges
of dialog some space is left. and a vertical scroll bar(initially in disable
state) is added to dialog.
I am doing like this
class myhtml:public CHtmlView{
....
};
In OnCreate function of dialog class, i create a html class object .
In dialog.h
myhtml *obj;
in dialog.cpp
OnCreate()
{
CRect rect;
GetClientRect(&rect);
obj=new myhtml;
obj.Create(NULL,NULL,WS_CHILD|WS_VISIBLE,rect,this,1);
}
and in myhtml class i load a html page.
HTML page doesn't cover dialog box completely while size of htmlpage and
dialog are same.
Can somone tell how htmlpage will cover whole dialog and there should be no
vertical scroll bar.
.
Relevant Pages
- Re: Unhandled exception in MSHTML.DLL
... > always crashes when its CHtmlView view started to load a specific local ... > html page, please let me know if I have misunderstood anything. ... > program crashes at. ... All 3 files load just fine in a regular browser. ... (microsoft.public.vc.mfc) - Re: Lost formatting in browser view source
... At the same time your html pages without php-code are processed by php. ... If you are concerned about users links and bookmarks to break, you have the nice option in apache to rewrite rules, if they try to load a "missing" html page, redirect them to a php file with the same name. ... run your editor, load 100 pages, use find/replace to change the address ... (alt.php) - Re: Another basic question: How to call and show one Web Form from another Web Form?
... > I've got an ASP.NET Form (Web Form) that contains various info/controls. ... > ' What do I use to load MyWebForm in the current browser window? ... am I being unrealistic in wanting to NOT keep resorting back to HTML ... I find the HTML syntax mind boggling, ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: McAfee: Microsoft completely unrealistic on Vista
... Yet it also doesn't allow any other attachments to load -- which is the ... It does send in HTML by default, which encourages others to permit HTML ... or do some of them have their own rendering engine? ... (comp.sys.mac.advocacy) - Re: Poor perfomance with Spreadsheet OWC 10 with more than 200 columns
... then i load into the spreadsheet using XMLLOAD. ... HTML portion is what is slowing it down. ... > OWC Version: 10.0.0.2621 ... >>> to design the html table, reading from a Recordset. ... (microsoft.public.office.developer.web.components) |
|