Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Undocks the specified window handle if it is currently docked.
Syntax
HRESULT UndockWindow(
HWND hwnd
);
Parameters
hwnd
TBD
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
The window does not belong to the calling process. |
|
The window is not docked. |
Remarks
This method can only be used to undock windows that belong to the calling process.
Examples
class CAccessibilityApplicationWindow : public IAccessibilityDockingServiceCallback
{
....
....
HRESULT _Undock()
{
return _pDockingService->UndockWindow(_hwndMyApplication);
}
IAccessibilityDockingService *_pDockingService;
HWND _hwndMyApplication;
}
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | shobjidl.h |