共用方式為


CMFCOutlookBarPane::RemoveButton

Removes the button that has a specified command ID.

BOOL RemoveButton(
   UINT iIdCommand 
);

Parameters

  • [in] iIdCommand
    Specifies the command ID of a button to remove.

Return Value

TRUE if the button was successfully removed; FALSE if the specified command ID is not valid.

Requirements

Header: afxoutlookbarpane.h

See Also

Reference

CMFCOutlookBarPane Class

Hierarchy Chart