[webkit-help] Enabling Flat Frame Mode (no scrollbars)

Aram Hăvărneanu aram.h at mgk.ro
Tue Jun 1 14:10:49 PDT 2010


On Tue, Jun 1, 2010 at 8:07 PM, Brent Fulgham <bfulgham at gmail.com> wrote:
>
> What do you mean by "nothing seems to happen"?  It sounds like you are
> getting scrollbars, even though you are instructing WebKit to not show
> them.  Is that correct?
>

Yes.

> You might want to double-check how you are creating the Windows HWND
> you are drawing into.  I had a similar problem, and had mistakenly
> included the "WS_VSCROLL" flag in the Window Create method.
>

My test code is WinLauncher. There's no WS_VSCROLL:

    MainWindow = CreateWindow(
        WindowClass,
        WindowTitle,
        WS_OVERLAPPEDWINDOW,
        CW_USEDEFAULT,
        0,
        iPhoneXRes + 16 + 20,
        iPhoneYres + 110,
        NULL,
        NULL,
        hInstance,
        NULL
    );

-- 
Aram Hăvărneanu


More information about the webkit-help mailing list