 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Elisabeth Kvarnryd Guest
|
Posted: Wed Feb 21, 2007 1:46 am Post subject: Remove scrollbars? |
|
|
Hi,
Is it possible to remove the verticle and horizontal scrollbars in the
TCppWebBrowser?
/Elisabeth
--------------------------------------------------------------------------------
Jag använder en gratisversion av SPAMfighter för privata användare.
201 spam har blivit blockerade hittills.
Betalande användare har inte detta meddelande i sin e-post.
Hämta gratis SPAMfighter idag! |
|
| Back to top |
|
 |
Michael Harris Guest
|
Posted: Wed Feb 21, 2007 4:35 am Post subject: Re: Remove scrollbars? |
|
|
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 (AT) jptorrent (DOT) com> wrote in message
news:45db4fea (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
Is it possible to remove the verticle and horizontal scrollbars in the
TCppWebBrowser?
/Elisabeth
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|