Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The IToolbar::InsertButton method enables a snap-in to add a single button to the toolbar. The button being added is placed at the end of the toolbar.
Syntax
HRESULT InsertButton(
[in] int nIndex,
[in] LPMMCBUTTON lpButton
);
Parameters
[in] nIndex
An internal index at which the button will be inserted. The button is always placed at the end of the toolbar; the internal index is required if the button is to be deleted (by means of IToolbar::DeleteButton).
[in] lpButton
A pointer to the MMCBUTTON structure that defines the button to be inserted.
Return value
This method can return one of these values.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | mmc.h |
| DLL | Mmcndmgr.dll |