| wSplitSetCollapsability | |
| This macro changes the collapsability of a WC_SPLITPANE. | |
| Syntax: | |
| BOOL wSplitSetCollapsability(HWND hwnd, ULONG flag); | |
| Parameters: | |
| HWND hwnd: | splitpane window handle. |
| ULONG flag: | SPLITS_HIDENONE to make no pane collapsable, SPLITS_HIDEPANE1 to make the left/top pane collapsable (the right/bottom pane is unchanged), SPLITS_HIDEPANE2 to make the right/bottom pane collapsable (the left/top pane is unchanged), SPLITS_HIDEPANES to make both panes collapsable. |
| Return value: | |
| BOOL: | TRUE if the operation was successful, FALSE in case of error. |
| Example: | |
| // make the left/top pane collapsable rc = wSplitSetCollapsability(hwndSplitPane, SPLITS_HIDEPANE1); ... | |
| dSplitSetCollapsability | |
| This macro changes the collapsability of a WC_SPLITPANE. | |
| Syntax: | |
| BOOL dSplitSetCollapsability(HWND hwndDlg, ULONG id, ULONG flag); | |
| Parameters: | |
| HWND hwndDlg: | dialog window handle. |
| ULONG id: | splitpane window ID. |
| ULONG flag: | SPLITS_HIDENONE to make no pane collapsable, SPLITS_HIDEPANE1 to make the left/top pane collapsable (the right/bottom pane is unchanged), SPLITS_HIDEPANE2 to make the right/bottom pane collapsable (the left/top pane is unchanged), SPLITS_HIDEPANES to make both panes collapsable. |
| Return value: | |
| BOOL: | TRUE if the operation was successful, FALSE in case of error. |
| Example: | |
| // make the left/top pane collapsable rc = dSplitSetCollapsability(hwndDlg, ID_SPLITPANE, SPLITS_HIDEPANE1); ... | |