Implementing Scrollbars: Step 4

Modify the Color.H file to add some global variables to support scrolling.

int nScrollInc; /* Scrolling increment */ 
int ClientWidth, ClientHeight, BottomBarThickness, RightBarThickness; /* Client area metrics */ 
int DisplayWidth, DisplayHeight; 
RECT ScrollRect; /* Used in WM_HSCROLL and WM_VSCROLL to make scrolling smoother */ 
RECT rLeadDest, rLeadSource; 
RECT rClientSize; 

Help Version 21.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.