| wSplitterSetDragStyle | |
| This macro changes the behaviour of a WC_SPLITPANE on splitter drag. | |
| Syntax: | |
| BOOL wSplitterSetDragStyle(HWND hwnd, ULONG flag); | |
| Parameters: | |
| HWND hwnd: | splitpane window handle. |
| ULONG flag: | SPLITS_DRAGSYSTEM to use the default settings for window dragging, SPLITS_DRAGSOLID to update the pane sizes as the splitter is dragged, SPLITS_DRAGFRAME to drag just a frame and adjust the panes size as soon as the drag operation terminates. |
| Return value: | |
| BOOL: | TRUE if the operation was successful, FALSE in case of error. |
| Example: | |
| rc = wSplitterSetDragStyle(hwndSplitPane, SPLITS_DRAGSYSTEM); ... | |
| dSplitterSetDragStyle | |
| This macro changes the behaviour of a WC_SPLITPANE on splitter drag. | |
| Syntax: | |
| BOOL dSplitterSetDragStyle(HWND hwndDlg, ULONG id, ULONG flag); | |
| Parameters: | |
| HWND hwndDlg: | dialog window handle. |
| ULONG id: | splitpane window ID. |
| ULONG flag: | SPLITS_DRAGSYSTEM to use the default settings for window dragging, SPLITS_DRAGSOLID to update the pane sizes as the splitter is dragged, SPLITS_DRAGFRAME to drag just a frame and adjust the panes size as soon as the drag operation terminates. |
| Return value: | |
| BOOL: | TRUE if the operation was successful, FALSE in case of error. |
| Example: | |
| rc = dSplitterSetDragStyle(hwndDlg, ID_SPLITPANE, SPLITS_DRAGSYSTEM); ... | |