|
|
|
DrawSelectionOutline |
Draws a selection outline.
C
void WINAPI SftTree_DrawSelectionOutline(HWND hwndCtl, HDC hDC, LPCRECT lpRect, COLORREF OutlineBorder, COLORREF InnerBorder, COLORREF InnerFill1, COLORREF InnerFill2); void WINAPI SftTreeSplit_DrawSelectionOutline(HWND hwndCtl, HDC hDC, LPCRECT lpRect, COLORREF OutlineBorder, COLORREF InnerBorder, COLORREF InnerFill1, COLORREF InnerFill2);
C++
void CSftTree::DrawSelectionOutline(HDC hDC, LPCRECT lpRect, COLORREF OutlineBorder, COLORREF InnerBorder, COLORREF InnerFill1, COLORREF InnerFill2) const; int CSftTreeSplit::DrawSelectionOutline(HDC hDC, LPCRECT lpRect, COLORREF OutlineBorder, COLORREF InnerBorder, COLORREF InnerFill1, COLORREF InnerFill2) const;
Parameters
hwndCtl
The window handle of the tree control.
HDC
The device context handle, where the selection outline is to be rendered.
lpRect
The location and size of the selection outline.
OutlineBorder
The outermost border color used to render the rounded selection outline rectangle.
InnerBorder
The inner border color used to render the rounded selection outline rectangle.
InnerFill1
The starting color (top) used to gradient fill the inside of the rounded selection outline rectangle.
InnerFill2
The ending color (bottom) used to gradient fill the inside of the rounded selection outline rectangle.
Comments
The DrawSelectionOutline function draws a rounded selection outline rectangle.
This function is normally only used with ownerdraw cells (see OwnerDrawCallback).
See Also C/C++ API | Categories | Notifications