Example #1
0
 public static extern MessageBoxCommandID MessageBox(IntPtr hwnd, string lpText, string lpCaption, MessageBoxFlag uType);
Example #2
0
 static extern IntPtr GuiEnv_AddMessageBox(IntPtr guienv, string caption, string text, bool modal, MessageBoxFlag flags, IntPtr parent, int id);
Example #3
0
 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));
 }
Example #4
0
 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));
 }
Example #5
0
 public static extern MessageBoxReturn MessageBox(IntPtr hWnd, string text, string caption, MessageBoxFlag type);
Example #6
0
 public static extern MessageBoxCommandID MessageBox(IntPtr hwnd, string lpText, string lpCaption, MessageBoxFlag uType);