BCGControlBar Pro for MFC
CBCGPTask::CBCGPTask ( CBCGPTasksGroup pGroup,
LPCTSTR  lpszName,
int  nIcon,
UINT  uiCommandID,
DWORD_PTR  dwUserData = 0,
HWND  hwndTask = NULL,
BOOL  bAutoDestroyWindow = FALSE,
int  nWindowHeight = 0,
WindowAlign  align = BCGP_TASKPANE_WND_STRETCH,
int  nWindowWidth = 0 
)
inline

Creates and initializes a CBCGPTask object.

Parameters
pGroup[in,out] Points to the parent group.
lpszNameSpecifies the task name (label).
nIconSpecifies the index of task's image in the image list.
uiCommandIDAssociated command ID.
dwUserDataUser-defined data.
hwndTaskHandle to the task window.
bAutoDestroyWindowIf TRUE the task window will be destroyed automatically.
nWindowHeightSpecifies the task window height.
alignSpecifies the task window location in the parent group.
nWindowWidthSpecifies the task window width.