IDockingWindowFrame::RemoveToolbar method
Removes the specified IDockingWindow from the toolbar frame.
Syntax
HRESULT RemoveToolbar(
[in] IUnknown *punkSrc,
DWORD dwRemoveFlags
);
Parameters
- punkSrc [in]
-
Type: IUnknown*
Pointer to the IDockingWindow object to be removed. The IDockingWindowFrame implementation calls the IDockingWindow::CloseDW and IDockingWindow::Release methods.
- dwRemoveFlags
-
Type: DWORD
Option flags for removing the docking window object. This parameter can be one or more of the following values:
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
Show: