Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

LVectorWindow::OnDraw

Show in webframe

#include "ltwrappr.h"

virtual L_VOID LVectorWindow::OnDraw(hdc, Rect)

HDC hdc;

/* the device context */

RECT & Rect;

/* the RECT structure that contains the rectangle to be updated */

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

Parameter

Description

hdc

The device context of the vector window.

Rect

RECT structure that contains the coordinates of the 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

LVKRN

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

See Also

Functions:

Class Members

Example

For an example, refer to LVectorWindow::MsgProcCallBack.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.