Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
BeginSelection
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
void BeginSelection(lpPntStruct, Y, X)
LPEXTPAINTSTRUC lpPntStruct;
WORD Y;
WORD X;
 
The BeginSelection function starts the selection at the indicated point by
setting the display and selection rectangles in the EXTPAINTSTRUC
structure.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
 
lpPntStruc  Points to an EXTPAINTSTRUC structure.
 
Y           Specifies the y-coordinate of the point to be set.
 
X           Specifies the x-coordinate of the point to be set.
 
Return Value
 
This function has no return value.
 
Comments
 
The export ordinal for this function is 3.
 
The function sets the SelectSRect and GrabArea members of the SelStruc
member in the EXTPAINTSTRUC structure, making the start and end points for
the selection and display rectangles the same. The function also sets the
SELECTON bit in the SelecFlags member of the GrabArea member of the
SelStruc member of the EXTPAINTSTRUC structure.
 
See Also
 
AdjustInitEndPt, EndSelection, EXTPAINTSTRUC