BCGControlBar Pro for MFC
BOOL CBCGPTasksPane::SetWindowHeight ( 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
hwndTaskA handle to the task's window control.
nWndHeightSpecifies the new window height.