IModalWindow::Show method
Launches the modal window.
Syntax
HRESULT Show(
[in, optional] HWND hwndOwner
);
Parameters
- hwndOwner [in, optional]
-
Type: HWND
The handle of the owner window. This value can be NULL.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code, including the following:
| Return code | Description |
|---|---|
|
The user closed the window by cancelling the operation. |
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: