Article View: borland.public.cppbuilder.internet.web
Article #289Re: Remove scrollbars?
From: Michael Harris
Date: Tue, 20 Feb 2007 22:35
Date: Tue, 20 Feb 2007 22:35
27 lines
1596 bytes
1596 bytes
look at the method 'put_scroll' CComQIPtr<IHTMLDocument2> doc(Browser->Document); if (!doc) return; CComPtr<IHTMLElement> elem; doc->get_body(&elem); if (!elem) return; CComPtr<IHTMLBodyElement> body; elem->QueryInterface(IID_IHTMLBodyElement, (LPVOID*)&body); if (!body) return; body->put_scroll(L"auto"); not checked ... -- Michael "Elisabeth Kvarnryd" <jesper@jptorrent.com> wrote in message news:45db4fea@newsgroups.borland.com... > Hi, > > Is it possible to remove the verticle and horizontal scrollbars in the > TCppWebBrowser? > > /Elisabeth >
Technical Details
Message-ID:
<45db77a2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45db4fea@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,b1a76e8cf7dad67f X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Michael Harris" <techonos-NO-SPAM-@attbi.com> From: "Michael Harris" <techonos-NO-SPAM-@attbi.com> Newsgroups: borland.public.cppbuilder.internet.web References: <45db4fea@newsgroups.borland.com> Subject: Re: Remove scrollbars? Date: Tue, 20 Feb 2007 16:35:53 -0600 Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 76.187.71.134 Message-ID: <45db77a2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1172010914 76.187.71.134 (20 Feb 2007 14:35:14 -0800) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail