[DllImport("user32.dll")]
static extern bool EndDialog(IntPtr hDlg, IntPtr nResult);
None.
None.
Please add some!
IntPtr result = IntPtr.Zero
IntPtr hwnd = FindWindowByCaption((IntPtr)null, "Untitled - Notepad");
if (null != hwnd)
{
EndDialog(hwnd, result);
}
Do you know one? Please contribute it!