Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Shows or hides a task based on its command ID.
BOOL ShowTaskByCmdId(
UINT uiCommandID,
BOOL bShow = TRUE,
BOOL bRedraw = TRUE
);
Parameters
[in] uiCommandID
Specifies the command ID of the task to show or hide.[in] bShow
TRUE to show the task; FALSE to hide the task.[in] bRedraw
TRUE to redraw the task pane; otherwise, FALSE.
Return Value
TRUE if the task was successfully shown or hidden; FALSE if a task with the specified command ID does not exist.
Remarks
Use CMFCTasksPane::ShowTask to show or hide a task based on its command ID.
Requirements
Header: afxTasksPane.h