Questions tagged [messagedialog]
119 questions
23
votes
5 answers
MessageDialog ShowAsync throws accessdenied exception on second dialog
I am trying to implement try again/cancel dialog box in windows 8. The dialog box shows fine the first time, but on clicking try again and failing again, I get a access denied exception on calling ShowAsync.
I don't know why, but its strange…

Syler
- 1,151
- 1
- 13
- 30
12
votes
1 answer
MessageDialog breaks on Windows Phone 8.1 with 3 commands
I'm trying to add a MessageDialog to a windows phone 8.1 app (WinRT) with 3 commands. Looking at the documentation for MessageDialog:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.popups.messagedialog.aspx
It says that "The dialog…

Carson
- 121
- 1
- 1
- 4
11
votes
4 answers
WinRT - MessageDialog.ShowAsync will throw UnauthorizedAccessException in my custom class
I Want to write my own control, when the ctor is invoked, a MessageBox is shown.
public class Class1
{
public Class1()
{
ShowDialog();
}
void ShowDialog()
{
SynchronizationContext context =…

glover
- 245
- 1
- 4
- 12
8
votes
1 answer
How to prevent the ContentDialog from closing when home key is pressed in Windows phone 8.1..?
private IAsyncOperation _Task = null;
private ContentDialog _message = null;
_message = new ContentDialog()
{
Content = "Hello",
PrimaryButtonText = "EXIT",
…

Jose John Thottungal
- 329
- 5
- 18
6
votes
2 answers
How to create a message dialog using QML Control elements(such as combobox, textfield, checkbox..)
I want to create a message dialog in the following way
For example:My combobox has 2 name, “chkbx”(symbolic name for the checkbox), “txtedt”(symbolic name for the text field).
Whenever i select chkbox or txtedt from combobox drop down list, then my…

User
- 619
- 1
- 9
- 24
5
votes
2 answers
Confirmation Message BOx function for asp.net?
This is my Delete function after a click. Can anyone show me how to do a simple confirmation function?
ASP.net C#.
Previously I had this
ScriptManager.RegisterStartupScript(this,
this.GetType(),
"script",
"confirm('Are you…

WeakTaenie
- 247
- 2
- 6
- 14
5
votes
1 answer
FBDialogs canPresentMessageDialogWithParams returns false
I'm currently trying to add Facebook SDK to the iOS version of my app. The login, logout, share, and request features are all currently working, but I'm having difficulty getting the MessageDialog feature to work. The Facebook app and the Facebook…

Christoferson
- 171
- 1
- 7
5
votes
1 answer
How to close Message Dialog programmatically
I am trying to close a MessageDialog in my WinRT App. I have noticed if I attempt to show two message dialogs at once, I get an UnauthorizedAccessException. To avoid this, I want to close the existing message dialog if it is open. I use this to show…

msbg
- 4,852
- 11
- 44
- 73
4
votes
1 answer
Facebook iOS Message Dialog Send Button Disabled
I have implemented the routine to send a link + content to facebook messenger via its MessageDialog API. I have managed to get the link content to appear on the message dialog, but the send button is disabled. I think this is more of a configuration…

Abílio Esteves
- 187
- 7
4
votes
1 answer
Programmatically dismiss a MessageDialog
On Windows Phone 8.1, how to programmatically dismiss a MessageDialog after the ShowAsync call?
I’ve tried calling IAsyncInfo.Close(), it just throws an InvalidOperationException "An illegal state change was requested".
I’ve tried calling…

Soonts
- 20,079
- 9
- 57
- 130
4
votes
3 answers
Add Image to JOptionPane
I'm wondering How To Add Image To MessageDialog Box. I tried the code below and the image was nowhere to be found
else if(button == B){
String text = "blahblahblahblahblah";
JTextArea textArea = new…

user1911773
- 51
- 1
- 1
- 5
3
votes
1 answer
QML: MessageDialog closes on click outside
I'm trying to show an QML MessageDialog with Qt 6.4.3. This dialog should be closed with the provided button.
import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs
ApplicationWindow {
id: window
width: 800
height: 600
…

Jürgen Lutz
- 329
- 1
- 1
- 10
3
votes
4 answers
How to set the size of tk_messageBox?
I am using a tk_messageBox with a lage message, so I would like to configure the layout of that message dialog.
I am using tk_messageBox like this:
set status [tk_messageBox -type yesno -icon warning -message "Here goes a text with 50 words"]
How…

Vahagn
- 4,670
- 9
- 43
- 72
3
votes
0 answers
Facebook send message (MessageDialog) is not working
I am really wasting time on trying to figure out what might be wrong. I have a button(not fb send button) and on click i want to open messenger(or with any other way) to send a message to users. This is my code:
MessageDialog messageDialog = new…

Stamatis Stiliats
- 399
- 7
- 23
3
votes
1 answer
OK and Cancel button not visible in MessageDialog in JFace / SWT
I have a message dialog as follows:
import org.eclipse.jface.dialogs.MessageDialog
public void openQuestion(Shell parentShell, String title, String question, final int iconStyle){
MessageDialog dialog = new MessageDialog(
…

Sri
- 669
- 2
- 13
- 25