Questions tagged [messagebox]

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

1861 questions
0
votes
1 answer

Ways to show MessageBox from other classes

I want show my app user with a MessageBox based on some activity happened in that class. I was just wondering what could be the best way to do so. One way that I know doesn't seem to be the ideal one. Deployment.Current.Dispatcher.BeginInvoke(()…
pratpor
  • 1,954
  • 1
  • 27
  • 46
0
votes
1 answer

VBA-Excel : Conditional message box popup every 2 minutes from NOW

I have been trying to work things out with NOW (Date/time) but have been unsuccessful. Checkbox1 when True captures NOW in textbox1. From the value in textbox1, every 2 minutes i need a popup message reminder with OK as acknowledgement until…
user3883116
  • 37
  • 2
  • 6
0
votes
3 answers

How to Show Image in CustomMessageBox

I have the need to display an image as the content of a CustomMessageBox. I have attempted to set this up as follows, yet no images is displayed, but everything else looks ok. Image image = new Image(); BitmapImage bmp = new BitmapImage(new…
Matthew
  • 3,976
  • 15
  • 66
  • 130
0
votes
1 answer

NSIS Confirm Uninstallation of app

Currently creating an uninstaller for my app. The uninstaller doesn't show any confirmation message before uninstalling. Is there a way to prompt the user for confirmation (I'm hoping for a default message or something so it can be localized easily,…
Bypp
  • 331
  • 3
  • 22
0
votes
1 answer

Prevent MessageBox from minimizing other windows

In my project I have a MessageBox that pops up from time to time. When I'm playing a game and the MessageBox appears, the game is minimized and I'm back to the desktop. This might depend from app to app, but this specific app/game minimizes when…
sparcopt
  • 416
  • 2
  • 8
  • 22
0
votes
1 answer

How to get user feedback (e.g. from AlertDialog) inside AsyncTask/Background-Thread?

an Android 4+ app should perform a long running operation. This could be copying a million files from A to B for example. To not block the UI this operation runs in the background using an AsyncTask. Assume that the operation needs some user…
0
votes
1 answer

Messagebox customization is not shown correctly

Time ago I've taken this code of @Hans Passant to make some modifications, all works fine but now I've noticed that the custom messagebox is not shown properly. This is how its shown a normal messagebox with my custom windows theme: And this else…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
0
votes
1 answer

How can I split a MessageBox's content into N episodes?

I have code like this to show me the StackTrace from an exception I'm getting: catch (Exception x) { MessageBox.Show(string.Format("Booboo ({0}) in buttonGetDeviceLangVal_Click(). StackTrace == {1}", x.Message, x.StackTrace)); } ...but…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

How to show separate text from 2 listbox on a button click

I am a beginner so don't go into to much detail if you can. I want to be able to click a button and a message box to show and gather text from 2 listbox. For example if listbox 1 has the name 'Dean' in it and listbox 2 has the name 'Stowers' in it I…
0
votes
1 answer

Javascript Message Box in ASP.NET webapp

I am using the code below to handle some exceptions in the webapp I'm building: Dim msg As String Dim SF_msg As String = "Please input lower bounds in SF Parameter Section" msg = "