LBitmapWindow::OnDraw

#include "ltwrappr.h"

virtual L_VOID LBitmapWindow::OnDraw(hdc, Rect)

HDC hdc;

the device context

RECT& Rect;

the rectangle to be updated

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

Parameter

Description

hdc

The device context of the bitmap window.

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.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Implementing Special Effects

Example

For an example, refer to LBitmapWindow::CreatePanWnd.

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

LEADTOOLS Raster Imaging C++ Class Library Help