Simulation support:

This function is mandatory for display drivers. For other drivers, it is simulated by a handling routine in the graphics engine.

Description:

GreSetPickWindow sets the position and size of the pick window in page-coordinate space for subsequent correlation operations.

#define INCL_GRE_PICK
#include <os2.h>

HDC       hdc;        /*  The device context handle. */
PRECTL    pPick;      /*  A pointer to a pick window. */
PVOID     pInstance;  /*  A pointer to instance data. */
ULONG     lFunction;  /*  High-order WORD=flags; low-order WORD=NGreSetPickWindow. */
BOOL      fSuccess;   /*  Return codes. */

fSuccess = GreSetPickWindow(hdc, pPick, pInstance,
             lFunction);


[Back: GreSetPickWindow]
[Next: GreSetPickWindow Parameter - hdc]