[COMCTL32] The use of the PGS_VERT flag
13 Jan
2005
13 Jan
'05
6:36 a.m.
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.
7641
Age (days ago)
7641
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Vriens