BCGControlBar Pro for MFC
BOOL CBCGPTasksPane::SetWindowHeight ( int  nGroup,
HWND  hwndTask,
int  nWndHeight 
)

Sets a new window height.

Returns
TRUE, if the function succeeds; FALSE, if the specified group index is out of range or window with the specified handle does not exist.

Call this function to resize a task window vertically. You should use AddWindow() to add tasks with window controls.

Parameters
nGroupSpecifies the zero-based index of a group containing a task whose window should be resized
hwndTaskA handle to the task's window control.
nWndHeightSpecifies the new window height.