Questions tagged [messagebox]

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

1861 questions
7
votes
1 answer

Python How to keep MessageboxW on top of all other windows?

Context: I have a small script that alerts the user of an event by creating a message box using the Windows in built message box (Ref: MSDN MessageBox) which is imported using ctypes. This script is for Windows OS. Problem: Currently, the message…
Kotosif
  • 338
  • 3
  • 12
7
votes
3 answers

MessageBox.Show for Windows Phone 7

I need a MessageBox.Show(), but with an extended functionality: the built-in messagebox for Windows Phone 7 won't show arbitrary buttons, just OK or cancel, I need for example YesNo as well. I need a Show method that will return only when the user…
Vic
  • 129
  • 1
  • 2
  • 11
7
votes
2 answers

Similar method to messageBox in .NET core

Is there any method to display pop up message like MessageBox.Show in .NET core?
kostas
  • 779
  • 4
  • 13
  • 20
7
votes
2 answers

WPF Messagebox shows Error message

I'm developing a WPF application and I want to show message box with symbol like information or question. I have written this code: MessageBox.Show("Added Sucessfully","Alert",MessageBoxImage.Information); but it shows an error/red…
Santhosh
  • 107
  • 1
  • 3
  • 11
7
votes
2 answers

Is there any way to have ASYNC MessageBox?

Or do I have to use threads? (C++)
Vladimir
  • 191
  • 1
  • 9
7
votes
5 answers

How to use Messageboxes in MVVM?

It seems that the XAML in MVVM pattern has difficulty to pop-up a Messageboxes. My client insists that the validation labels and colors are not good for them. They still want a messagebox. How can do it? I know I can pop-up messageboxes in the…
BigTiger
  • 81
  • 1
  • 3
7
votes
4 answers

tkinter showinfo python 3

I am trying to show an info window by using tkinter.messagebox.showinfo("info", "message") However, I am getting error while using from tkinter import * The problem is solve if I also have import tkinter.messagebox So I am confused. Isn't from…
mihota
  • 325
  • 1
  • 4
  • 12
7
votes
2 answers

(no longer seeking answers) Python input box inside a message box

is there any way to have an input box inside of an message box opened with the ctypes library? so far I have: import ctypes messageBox = ctypes.windll.user32.MessageBoxA title = 'Title' text = 'Message box!' returnValue = messageBox(None, text,…
Davis Diercks
  • 629
  • 1
  • 10
  • 11
7
votes
6 answers

Teardown a MessageBox programmatically without user input

I'm using a MessageBox from time to time to pop up alert messages for the user. My particular application can be setup to run remotely so there are times where the user is in front of the computer and other times where the user may not be in front…
Michael Mankus
  • 4,628
  • 9
  • 37
  • 63
7
votes
2 answers

Python: How to get an entry box within a message box?

I just realised I hadn't asked the user for their name at the start of the game. So I tried this code: Label(root, text="What is you name?").grid(row=0, column=0) e1 = self.Entry(root) e1.self.grid(row = 0, column=1) But its not working. How do…
Pokemon_SL
  • 289
  • 2
  • 6
  • 11
7
votes
8 answers

C#, Windows Form, Messagebox on top not working

I've some MessageBox that I code like this: MessageBox.Show(new Form(){TopMost=true, TopLevel=True}, "Message","Title", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); For a better example, I do this for the FormClosing Event: private void…
Alice
  • 313
  • 2
  • 5
  • 16
7
votes
8 answers

HTML - Alert Box when loading page

i'm using HTML code and i wan't to show un Alert Message or alert box, i don't know what it is called, but a message with a "OK" button. i want to show this alert when the page is loaded. How do i do this? And how to do this with a title in the…
Jonathan Gurebo
  • 285
  • 1
  • 6
  • 19
6
votes
5 answers

Is there any way to align text in message box in vb or vba?

Is there any way to align text into the center in msgbox in VB or VBA? Does VB have any functionality to do the same?
Pratik Gujarathi
  • 748
  • 10
  • 22
  • 40
6
votes
2 answers

Messagebox button text

I've looked around and it appears that everything can be editable in a MessageBox, bar the text on the buttons (WPF/C#) MessageBox.Show("Generic Message", "Caption", MessageBoxButton.YesNoCancel, MessageBoxImage.Warning) Is there a way to…
Oli
  • 428
  • 1
  • 5
  • 20
6
votes
1 answer

Disabling error message dialog when running Eclipse in headless mode?

I'm trying to execute JUnit-tests through a headless Eclipse in our build process. The unit tests are invoked from an Ant script, with this command: eclipsec.exe -noSplash -application org.eclipse.ant.core.antRunner -data "C:\SomeDirectory"…
Justin Aquadro
  • 2,280
  • 3
  • 21
  • 31