Syntax:
RetVal% = BCX_GETPIXEL(hWnd, Xpos%, Ypos% [, DrawHDC])
Parameters:
- RetVal% integer representing the RGB color code
of the pixel located at X%(horizontal) Y%(vertical).
- hWnd Identifies the window where drawing takes place.
- Xpos% X-coordinate of the pixel.
- Ypos% Y-coordinate of the pixel.
- DrawHDC [OPTIONAL] HDC(Handle to Device Context) pointing to
an already open HDC. This is useful if a device context is to be read
from many times. In this case the programmer is responsible for closing
the HDC at the appropriate time
|