Changeset 135 for trunk/src/kernel
- Timestamp:
 - Oct 12, 2006, 12:35:42 AM (19 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/src/kernel/qwidget_pm.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/kernel/qwidget_pm.cpp
r108 r135 2333 2333 } 2334 2334 2335 WinLockVisRegions( HWND_DESKTOP, TRUE );2336 2337 2335 HPS hps = WinGetPS( hwnd ); 2338 2336 … … 2404 2402 WinReleasePS( hps ); 2405 2403 2406 WinLockVisRegions( HWND_DESKTOP, FALSE ); 2407 2408 WinUpdateWindow( hwnd ); 2404 // In order to get the effect of "instant" scrolling, we process WM_PAINT 2405 // messages pending after invalidation manually instead of calling 2406 // WinUpdateWindow(). The latter tends to skip WM_PAINT messages under the 2407 // heavy load of the GUI thread (probably due to the low WM_PAINT priority), 2408 // which may cause parts of scrolled areas to look "stuck" (not updated in 2409 // time but with some delay). 2410 QMSG qmsg; 2411 while( WinPeekMsg( 0, &qmsg, NULLHANDLE, WM_PAINT, WM_PAINT, PM_REMOVE ) ) 2412 WinDispatchMsg( 0, &qmsg ); 2409 2413 } 2410 2414  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  