PaintControl Function
Applies To
fpSpread DLL control
Description
Paints the specified control into the rectangle of the device context.
Syntax
C
BOOL PaintCell(HWND hWnd, HDC hDC, LPRECT lpRect, BOOL fClientOnly);
C++
BOOL TSpread::PaintCell(HDC hDC, LPRECT lpRect, BOOL fClientOnly);
Parameters
The following parameters are available:
Parameter | Description |
hWnd | Control window to paint |
hDC | Device context handle |
lpRect | Pointer to a RECT structure |
fpClientOnly | Whether to paint the client area only |
Remarks
This function draws by sending the window a WM_PRINT message.
Return Value
TRUE if the function completes successfully; FALSE otherwise.
See Also
SSGetCellSpan, SSRemoveCellSpan, SSSetSheet functions
ActiveX Correspondence
PaintControl method