Zooming In on a Selection: Step 3

In the MainWndProc function, add some new local variables to support the GDI functions. You can add the following code to the existing variable declarations at the beginning of the function:

HGDIOBJ SavedPen, SavedBrush; 
int DisplayMode;
HDC ThisWindowDC;

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help