wSplitSetOrientation | |
This macro changes the orientation of a WC_SPLITPANE. | |
Syntax: | |
BOOL wSplitSetOrientation(HWND hwnd, ULONG flag); | |
Parameters: | |
HWND hwnd: | splitpane window handle. |
ULONG flag: | SPLITS_COLUMNS to divide the splitpane into columns or SPLITS_ROWS to divide it into rows. |
Return value: | |
BOOL: | TRUE if the operation was successful, FALSE in case of error. |
Example: | |
rc = wSplitSetOrientation(hwndSplitPane, SPLITS_ROWS); ... |
dSplitSetOrientation | |
This macro changes the orientation of a WC_SPLITPANE. | |
Syntax: | |
BOOL dSplitSetOrientation(HWND hwndDlg, ULONG id, ULONG flag); | |
Parameters: | |
HWND hwndDlg: | dialog window handle. |
ULONG id: | splitpane window ID. |
ULONG flag: | SPLITS_COLUMNS to divide the splitpane into columns or SPLITS_ROWS to divide it into rows. |
Return value: | |
BOOL: | TRUE if the operation was successful, FALSE in case of error. |
Example: | |
rc = dSplitSetOrientation(hwndDlg, ID_SPLITPANE, SPLITS_ROWS); ... |