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 20.0.2019.3.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help