Questions tagged [messagebox]

A message box is a prefabricated modal dialog box that displays a text message to a user.

1861 questions
6
votes
9 answers

What is the best way to display error/warning messages on website app?

I'm creating a website app(ASP.NET, C#) and I just want to know the best way to display error/warning messages. Is it better to do it by MessageBox or thru a Label? Just need some suggestions.
Googler
  • 119
  • 1
  • 5
6
votes
2 answers

Where do i find standard system icons of messageboxes via WinApi?

Where do i find standard system icons of messageboxes via WinApi? I want to create an advanced dialogbox (with details-extension) as WinApi resource, but I want to use the system default icons like: For .NET I know that i'll find them in…
Christoph Meißner
  • 1,511
  • 2
  • 21
  • 40
6
votes
6 answers

C# Message Box, variable usage

I have searched but I dont know if I am using the correct verbiage to search for. I am writing a program in C# for my class but I am having trouble with the message box. I am trying to have the message box show a message and read a variable at the…
willisj318
  • 105
  • 2
  • 2
  • 6
6
votes
6 answers

Differences between Application.MessageBox, Windows.MessageBox and Dialogs.MessageDlg in Delphi

In Delphi; what are the differences between Application.MessageBox, Windows.MessageBox or Dialogs.MessageDlg? Or which is more efficient to use computer memory?
SimaWB
  • 9,246
  • 2
  • 41
  • 46
6
votes
1 answer

C# DLL Message Box

Is it possible to have a C# DLL open a message box? Like in a WinForm: MessageBox.Show("Message"); I relise that DLL's can't be executed directly but what if it were to be injected into a process to be run, then it could show the message box (if…
Bali C
  • 30,582
  • 35
  • 123
  • 152
6
votes
1 answer

Python 3 tkinter message box highlight the "No" button?

I want to create a message box that confirms the intent to delete. def delete_action(self): s_id = self.selected_ID_entry.get() s_name = self.seletedEntry.get() answer = messagebox.askquestion("Delete?","Are you sure you want to…
Evan
  • 2,327
  • 5
  • 31
  • 63
6
votes
1 answer

How to make QMessageBox non-modal?

I'm trying to create a non-modal QMessageBox: QMessageBox msgBox( pParentWindow ); msgBox.setWindowModality(Qt::WindowModal); msgBox.setIcon( QMessageBox::Warning ); msgBox.setText( headerMsg.c_str() ); QAbstractButton *btnCancel = …
TT_ stands with Russia
  • 1,785
  • 3
  • 21
  • 33
6
votes
4 answers

WinForms message box with textual buttons

Windows 7(?) introduced a new message box feature (I'm not sure what it is called so I've uploaded a picture). How can I create such a box in C# with WinForms?
AK.
  • 743
  • 7
  • 13
6
votes
5 answers

Win32 MessageBox doesn't appear

I'm stuck with a strange problem. I'm making a Win32 application in VC++ 2008, making a class to encapsulate most of the work for easy repetition when calling a MessageBox. The message box` is created (I think) but doesn't show up unless I press the…
Dr. Mina Mounir
  • 314
  • 3
  • 13
6
votes
2 answers

C#/WPF, how to make a window (created with Window.ShowDialog()) title bar blink when clicking its parent window (like MessageBox does)?

I'm trying to create a custom MessageBox by using a WPF Window that is called with ShowDialog(). So far, I've managed to implement everything, except for one thing. As you know, when you use MessageBox.Show("text"); you cannot set the focus or click…
Ze Pedro
  • 61
  • 1
  • 2
6
votes
1 answer

How to use the result from a Yes/No MessageBox?

I'm trying to make a program which reserves and shows available and unavailable seats for an "event". The errors I'm getting are as follows: 'System.Nullable' does not contain a definition for 'Yes' and no extension method 'Yes' accepting a first…
Nathan
  • 61
  • 1
  • 2
  • 6
6
votes
2 answers

tkinter showerror creating blank tk window

I have a program that needs to display graphical error messages to users. It is a tkinter GUI, so I am using tkinter.messagebox.showerror When I call showerror, it shows the error, but also creates a blank "tk" window, the kind created when an…
Ecko
  • 1,030
  • 9
  • 30
6
votes
1 answer

WPF MessageBox looks unstyled, while WindowsForms MessageBox looks good

For some reason, the WPF MessageBox looks worse than the one in WindowsForms. The WPF one doesn't have a visual style. How can the Windows style be applied to the WPF MessageBox? WindowsForms WPF
bytecode77
  • 14,163
  • 30
  • 110
  • 141
6
votes
4 answers

Biztalk suspended messages in database

I was wondering if someone knows where I can see the data of a suspended message in the biztalk database. I need this because about 900 messages have been suspended because of a validation and I need to edit all of them, resuming isn't possible. I…
WtFudgE
  • 5,080
  • 7
  • 47
  • 59
6
votes
6 answers

An "About" message box for a GUI with Qt

QMessageBox::about( this, "About Application", "

Application is a one-paragraph blurb

\n\n" "Copyright 1991-2003 Such-and-such. " "For technical support, call 1234-56789 or see\n" "
Narek
  • 38,779
  • 79
  • 233
  • 389