wSplitterThickness | |
This macro returns the thickness of the splitter. | |
Syntax: | |
UINT wSplitterThickness(HWND hwnd); | |
Parameters: | |
HWND hwnd: | splitpane window handle. |
Return value: | |
UINT: | splitter thickness (0 in case of error). |
Remarks: | |
The splitter thickness lower and upper limits are 3 and 255 pixels. | |
Example: | |
UINT thickness; thickness = wSplitterThickness(hwndSplitPane); ... |
dSplitterThickness | |
This macro returns the thickness of the splitter. | |
Syntax: | |
UINT dSplitterThickness(HWND hwndDlg, ULONG id); | |
Parameters: | |
HWND hwndDlg: | dialog window handle. |
ULONG id: | splitpane window ID. |
Return value: | |
UINT: | splitter thickness (0 in case of error). |
Remarks: | |
The splitter thickness lower and upper limits are 3 and 255 pixels. | |
Example: | |
UINT thickness; thickness = dSplitterThickness(hwndDlg, ID_SPLITPANE); ... |
wSplitterSetThickness | |
This macro sets the thickness of the splitter. | |
Syntax: | |
BOOL wSplitterSetThickness(HWND hwnd, INT thickness); | |
Parameters: | |
HWND hwnd: | splitpane window handle. |
INT thickness: | new splitter thickness. Values lower than 3 pixels are converted to 3 pixels, while values greater than 255 pixels are converted to 255 pixels. |
Return value: | |
BOOL: | TRUE if the operation was successful, FALSE in case of error. |
Remarks: | |
The splitter thickness lower and upper limits are 3 and 255 pixels. | |
Example: | |
// make the splitter 10 pixels thick rc = wSplitterSetThickness(hwndSplitPane, 10); ... |
dSplitterSetThickness | |
This macro sets the thickness of the splitter. | |
Syntax: | |
BOOL dSplitterSetThickness(HWND hwndDlg, ULONG id, INT thickness); | |
Parameters: | |
HWND hwndDlg: | dialog window handle. |
ULONG id: | splitpane window ID. |
INT thickness: | new splitter thickness. Values lower than 3 pixels are converted to 3 pixels, while values greater than 255 pixels are converted to 255 pixels. |
Return value: | |
BOOL: | TRUE if the operation was successful, FALSE in case of error. |
Remarks: | |
The splitter thickness lower and upper limits are 3 and 255 pixels. | |
Example: | |
// make the splitter 10 pixels thick rc = dSplitterSetThickness(hwndDlg, ID_SPLITPANE, 10); ... |