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

◆ error_dialog_parent_handle() [2/2]

process_start_info & xtd::diagnostics::process_start_info::error_dialog_parent_handle ( intptr  value)
noexcept

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

Parameters
valueA pointer to the handle of the error dialog box that results from a process start failure.
Returns
The current instance of process_start_info.
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.