dialog

How can I capture if a dialog box is on screen in Powershell?

I am writing a script to automate an installation package. Annoyingly, there is no "silent" installation mode. (Actually it's "half silent" - it runs in the background and then pops up with a dialog box telling the user to reboot.) I want to automate this, by detecting the dialog box has appeared and then either terminating the process ...

Cascading specific windows in a MFC MDI application

A MDIParent Wnd has many MDIchild Wnds, and also few child dialogs. Dialogs are created this way --- CAutoDlg *pDlg = new CAutoDlg; pDlg->Create(IDD_AUTOCARD,this); I want to cascade only a specific type of dialogs, say dialogs of CAutoDlg type only. If i give MDICascade() it cascades all the child windows and dialogs under the MD...

ZendX/Jquery ui - open dialog box on click

Hi, When a user clicks on the button delete, I want a dialog box to appear, to confirm the delete. I can get the dialog box to appear on page load, but am running into problems getting it to appear on a button click instead: <?php echo $this->dialogContainer( 'dialog', 'Are you sure you want to delete this postcode?', array( 'autoO...

Choose Contact from a Dialog window

I have a Dialog window created via the onCreateDialog() callback of my Actvity. In the Dialog I would like to allow the user to enter an email address or to select a contact from their contact list and have the email address populated based on their choice. This can be accomplished using: Intent intent = new Intent(Intent.ACTION_PICK, ...

jQuery UI close Dialog when form submitted

Hello, I have been trying to do the follow: Form gets showed inside jQuery Dialog When form gets submitted, jQuery dialog should close I am trying the following code: $('#RegisterDialog').dialog({ autoOpen: false, closeOnEscape: false, position: 'center', modal: tru...

How do I change the background image of an Android dialog or it's view in runtime according to a flag that is sent (before the dialog is shown)

Hi! I have a card game I created in android and it is possible to show the scores at any given time by clicking a menu option. I would like that scores dialog to show a different background image when it's loaded depending on factors like who's leading, etc. In my constructor, I have the following relevant code: public ScoresDialog(Cont...

Can you access standard Windows strings like 'Cancel'?

I am building a Windows dialog box that has the standard 'OK' and 'Cancel' buttons. Given that Windows uses the same button text in its own dialogs is there a way for me to grab the correct strings to use on the buttons? This way my application will have the correct strings no matter which language is being used, without me needing to ...

jQuery file upload - get the "Open" event from the dialog window

Hi Guys, Does anyone know how can I find out when the "Open" button was clicked in the dialog window of the file upload? I just want to do some checks once this has happened (validation etc.) and then perform the upload automatically. Also - I don't want to use any plugins as I know there are a few. ...

the advertisement dialog appears when Using Vs Elastic control provided by video soft in vb6

Hi, I am using a Video Soft Vs Elastic control and now when ever my application runs this dialog appears promoting video soft and after that my application loads. how do i get rid of it ...

Ok and Cancel button on right OR left side of the Dialog window?

what is better concerning user intuitive usage? OK...Cancel or Cancel...OK in a Dialog Window? edit: arghhhh I stepped in a trap :P seems some user misunderstood me... I do not mean having OK and Cancel on the left/right side of the dialog. what I mean is should the OK button be right-handed to the Cancel button or other way round?...

ListView opening a Dialog (or alert dialog)

I'm trying to get my list view to open up an alert dialog to display information when a person clicks on a selection. I have been trying several different things on the Google Developers website that have to do with this but have yet to come up with a result. Here is my code. package table.periodic; import android.app.Activity; import...

What sort of Form/Window is the Excel 2010 SearchANDReplace Dialog ?

I like the Search And Replace Dialog of Excel 2010. I can enter data, see it replace in the grid behind AND THEN I can edit the data in grid without the Search/Replace Window disappearing/going into background. The SearchAndReplace Window is not a Model dialog. And it also has not settings like "stay at Top" = true because switching to ...

How to focus modal dialog clicking the notify icon in C#?

My application's notification icon shows and hides the main application window accordingly. However, when a modal dialog is opened (this can be the About dialog or Settings dialog, to name a few) I want to the modal dialog to gain focus instead of showing/hiding the main application window. The modal dialogs are opened with form.ShowDia...

How to determine that a JFace or SWT Dialog is currently open?

In our RCP application, we need to resort to using a global key event handler (via Display.addFilter()) for more advanced key event handling/routing irrespective of current focus. We need to be able to determine if a dialog box is currently open for some of the routing logic. Seems like a fairly trivial question but I keep hitting dead ...

Dismiss Custom Dialog Problem

I have a dialog with a custom layout, and I try to close it when I press a button: private void showAboutDialog() { dialog = new Dialog(MainMenu.this); dialog.setContentView(R.layout.about_dialog); dialog.setCancelable(true); dialog.setTitle(R.string.about_title); dialog.show(); LayoutInflater inflater = (LayoutInfl...

How to change the background color of set and cancel button of TimePickerDialog in android?

Hie Every I have a doubt, I don't know how to change the background color of set and cancel button of TimePickerDialog in android? ...

'System.Nullable<bool>' does not contain a definition for 'OK'

I'm trying a basic file dialog example from, here, and I get an error on 'OK', and I don't know why. Error 1 'System.Nullable' does not contain a definition for 'OK' and no extension method 'OK' accepting a first argument of type 'System.Nullable' could be found (are you missing a using directive or an assembly reference?) privat...

Android Dialog - confused

I've been trying to get a handle on Dialogs. I read the android dev site info and a dozen bolg's. It seems there are several ways of doing it and I'm able to at least get a dialog with 3 buttons (not using a custom dialog with custom layout). If I set up the positive/negative/neutral actions with something like finish(), cancel() etc,...

Displaying alerts in Activity.onCreate(..)

Hi: I am new to Android and this is my first question here so please go easy on me. Is it possible to check some condition inside onCreate() of an Activity and display an AlertDialog? I am creating an AlertDialog anonymously in Oncreate() and calling show on that instance but the AlertDialog is never displayed. ...

asp mvc: show object details on a jquery dialog

Hi, Suppose I have a list of dinners. This list will present the users with, location, data and some other relevant info. Since that there's a lot of people attending, I want a button on each dinner that opens a jquery dialog that will show the people that will attend. What I accomplish until now: On each dinner on the list I have th...