clsCommonWrapper.SetRect MethodThe SetRect function sets the coordinates of the specified rectangle. This is equivalent to assigning the left, top, right, and bottom arguments to the appropriate members of the RECT structure.Syntax
Public Sub SetRect (ByRef lpRect As RECT, _
ByVal X1 As Long, _ ByVal y1 As Long, _ ByVal X2 As Long, _ ByVal y2 As Long) Parameters
Remarks
Because applications can use rectangles for different purposes, the rectangle functions do not use an explicit unit of measure. Instead, all rectangle coordinates and dimensions are given in signed, logical values. The mapping mode and the function in which the rectangle is used determine the units of measure.
|