public static extern MessageBoxCommandID MessageBox(IntPtr hwnd, string lpText, string lpCaption, MessageBoxFlag uType);
static extern IntPtr GuiEnv_AddMessageBox(IntPtr guienv, string caption, string text, bool modal, MessageBoxFlag flags, IntPtr parent, int id);
public GUIWindow AddMessageBox(string caption, string text, bool modal, MessageBoxFlag flags, GUIElement parent, int id) { IntPtr par = (parent == null ? IntPtr.Zero : parent.Raw); return (GUIWindow)NativeElement.GetObject(GuiEnv_AddMessageBox(_raw, caption, text, modal, flags, par, id), typeof(GUIWindow)); }
public GUIWindow AddMessageBox(string caption, string text, bool modal, MessageBoxFlag flags, GUIElement parent, int id) { return (GUIWindow)NativeElement.GetObject(GuiEnv_AddMessageBox(_raw, caption, text, modal, flags, GetPtr(parent), id), typeof(GUIWindow)); }
public static extern MessageBoxReturn MessageBox(IntPtr hWnd, string text, string caption, MessageBoxFlag type);