LVectorWindow::Move

#include "ltwrappr.h"

L_INT LVectorWindow::Move(rect, bFlag=TRUE)

RECT & rect;

/* RECT structure that contains the new dimensions and/or position of the vector window */

L_BOOL bFlag;

/* flag that indicates whether the window will update the display */

Moves and/or resizes the class object's window.

Parameter

Description

rect

RECT structure that contains the new dimensions and/or position of the vector window.

bFlag

Flag that indicates whether the window will update the display. Possible values are:

 

Value

Meaning

 

TRUE

The vector window will update the display.

 

FALSE

The vector window will not update the display.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The rect parameter is passed by reference, and is a required parameter. If using the LVectorWindow object as a control, Move can be called in an OnSize event to automatically resize the object whenever the user resizes the parent window.

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:

LVectorWindow::FitToParent, Class Members

Example

For an example, refer to LVectorWindow::GetVectorWnd.