IDockingWindowFrame::AddToolbar method
Adds the specified IDockingWindow object to the frame.
Syntax
HRESULT AddToolbar( [in] IUnknown *punkSrc, [in] PCWSTR pwszItem, DWORD dwAddFlags );
Parameters
- punkSrc [in]
-
Type: IUnknown*
A pointer to the IDockingWindow object to be added.
- pwszItem [in]
-
Type: PCWSTR
A pointer to a null-terminated, Unicode, application-defined string that is used to identify the docking window object.
- dwAddFlags
-
Type: DWORD
Flags that apply to the docking window object that is being added. One or more of the following values.
-
The docking window is a regular, visible docking window.
-
The docking window is added but is not shown. To show it at a later time, call its IDockingWindow::ShowDW method.
-
Reserved. Do not use.
-
Reserved. Do not use.
-
Reserved. Do not use.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 2000 Professional, Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
DLL |
|
See also