Re: [webkit-dev] Disabling the scrollbars

2010-05-31 Thread Eric Seidel
This is a question for webkit-help, not webkit-dev, please move the discussion there. However, you can disable scrollbars on any frame using some CSS: html { overflow: none; } or similar. On Mon, May 31, 2010 at 8:46 AM, Aram Hăvărneanu wrote: > On Mon, May 31, 2010 at 6:00 PM, Aram Hăvărneanu

Re: [webkit-dev] Disabling the scrollbars

2010-05-31 Thread Aram Hăvărneanu
On Mon, May 31, 2010 at 6:00 PM, Aram Hăvărneanu wrote: > On Mon, May 31, 2010 at 5:06 PM, Aram Hăvărneanu wrote: >> I'd like to disable the scrollbar > > To answer my own question, I need to call HRESULT > WebFrame::setAllowsScrolling(BOOL flag). To get an IWebFrame > interface, I call WebView::

Re: [webkit-dev] Disabling the scrollbars

2010-05-31 Thread Aram Hăvărneanu
On Mon, May 31, 2010 at 5:06 PM, Aram Hăvărneanu wrote: > I'd like to disable the scrollbar To answer my own question, I need to call HRESULT WebFrame::setAllowsScrolling(BOOL flag). To get an IWebFrame interface, I call WebView::mainFrame(). -- Aram Hăvărneanu _

[webkit-dev] Disabling the scrollbars

2010-05-31 Thread Aram Hăvărneanu
Hello, I'm embedding WebKit in a Windows application. It works fine. However, I'd like to disable the scrollbar that appears when the `data' is bigger then a client area (just as WebKit on the iPhone does). Is there a way to disable the scrollbar, or detect when a scrollbar is needed? Thanks. --