IAccessibilityDockingService::UndockWindow method
Undocks a currently docked accessibility app window from the bottom of the screen.
Syntax
HRESULT UndockWindow(
[in] HWND hwnd
);
Parameters
- hwnd [in]
-
Type: HWND
The handle of the window to undock.
Return value
Type: HRESULT
Returns a standard return value, including the following:
| Return code | Description |
|---|---|
|
The method succeeded. |
|
The specified window does not belong to the calling process. |
|
The specified 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
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
Show: