Re: ScrollWindow fix for windows with WS_CLIPCHILDREN style, with tests
27 Mar
2005
27 Mar
'05
3:02 p.m.
"Rein Klazes" <wijn(a)wanadoo.nl> wrote:
- hDC = GetDCEx( hwnd, 0, DCX_CACHE | DCX_USESTYLE ); + if( !(flags & SW_SCROLLCHILDREN && + GetWindowLongPtrW( hwnd, GWL_STYLE) & WS_CLIPCHILDREN))
Window style is a 32-bit entity in both Win32 and Win64, there is no need to use GetWindowLongPtr to retrieve it, GetWindowLong should work just fine. -- Dmitry.
7566
Age (days ago)
7566
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov