LAnnotationWindow::OnDraw

#include "ltwrappr.h"

virtual L_VOID LAnnotationWindow::OnDraw(hdc, Rect)

This function is called whenever the class object updates its window.

Parameters

HDC hdc

The device context of the bitmap window.

RECT& Rect

The bitmap window rectangle to be updated.

Returns

None.

Comments

Override this function if you want to do your own drawing on the class object's window.

This function will be called following the class object's own processing of the WM_PAINT message.

The rect parameter is passed by reference, and is a required parameter.

This function is overridden by the LAnnotationWindow to allow the class object to render the annotations to the window. If you override this function then you must call the parent-class implementation of this function for default processing.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to LAnnotationWindow::OnZoom.

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

LEADTOOLS Raster Imaging C++ Class Library Help