xtd 0.2.0
Loading...
Searching...
No Matches

◆ error_dialog_parent_handle() [1/2]

intptr xtd::diagnostics::process_start_info::error_dialog_parent_handle ( ) const
noexcept

Gets the window handle to use when an error dialog box is shown for a process that cannot be started.

Returns
A pointer to the handle of the error dialog box that results from a process start failure.
Remarks
If xtd::diagnostics::process_start_info::error_dialog is true, the xtd::diagnostics::process_start_info::error_dialog_parent_handle property specifies the parent window for the dialog box that is shown. It is useful to specify a parent to keep the dialog box in front of the application.