🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages Started by Elisabeth Kvarnryd Tue, 20 Feb 2007 19:46
Remove scrollbars?
#286
Author: Elisabeth Kvarnryd
Date: Tue, 20 Feb 2007 19:46
12 lines
1305 bytes
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! 
Re: Remove scrollbars?
#289
Author: Michael Harris
Date: Tue, 20 Feb 2007 22:35
27 lines
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
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads