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.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help