BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remove scrollbars?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
Elisabeth Kvarnryd
Guest





PostPosted: Wed Feb 21, 2007 1:46 am    Post subject: Remove scrollbars? Reply with quote



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





PostPosted: Wed Feb 21, 2007 4:35 am    Post subject: Re: Remove scrollbars? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.