Hi,

the flag PGS_VERT is zero and should not be checked against. It's only the
lack of PGS_HORZ that should be checked.

Is the following piece of code needed in dll//comctl32/pager.c:

    851     if (!(dwStyle & PGS_HORZ) && !(dwStyle & PGS_VERT))
    852     {
    853         dwStyle |= PGS_VERT;
    854         SetWindowLongA(hwnd, GWL_STYLE, dwStyle);
    855     }

The check is whether any of the flags is set, but PGS_VERT is already the
default when there is a lack of PGS_HORZ.

Cheers,

Paul.



Reply via email to