Udostępnij za pośrednictwem


CMFCTasksPane::SetWindowHeight

Sets the height for a window control.

BOOL SetWindowHeight(
    int nGroup,
    HWND hwndTask,
    int nWndHeight
);
BOOL SetWindowHeight(
    HWND hwndTask,
    int nWndHeight
);

Parameters

  • [in] nGroup
    Specifies the zero-based index of the group that contains the window control.

  • [in] hwndTask
    Specifies the handle to the window control.

  • [in] nWndHeight
    Specifies the height to set.

Return Value

TRUE if the height of the window control was successfully set; FALSE if nGroup is invalid or if hwndTask does not exist.

Remarks

Call CMFCTasksPane::AddWindow to add tasks with window controls.

Requirements

Header: afxTasksPane.h

See Also

Reference

CMFCTasksPane Class

Hierarchy Chart