Zooming In on a Selection: Step 6

/* Set the source and destination rectangles for painting */   
SetRect(&rLeadSource, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());   
SetRect(&rLeadDest, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());   
/* Update the global variables for keeping track of the display */   
DisplayLeft = 0;   
DisplayTop = 0;   
DisplayWidth = LeadBitmap.GetWidth();   
DisplayHeight = LeadBitmap.GetHeight();   
/* Repaint the whole client area */   
::InvalidateRect(this->m_hWnd,NULL,FALSE);   
Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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