dialog

Interacts with dialog/whiptail on early boot rcX.d stage?

Hi buddies, I'm developing on Ubuntu based, actually I got one script in-charged on GUI(console) setup. It runs before another scripts (rcX.d) start. Currently, I installed this script on rc2.d and start earlier than other ones. But when run on real machine, I can't input any keystroke on "dialog --inputbox" or whiptail through shell ...

Allow selection of readonly files from SaveFileDialog?

I'm using Microsoft.Win32.SaveFileDialog in an app where all files are saved as readonly but the user needs to be able to choose existing files. The existing files being replaced are renamed eg: blah.png becomes blah.png-0.bak, blah.png-1.bak and so on. Thus, the language for the OverwritePrompt is inappropriate - we are not allowing th...

Detailed android activity lifecycle (onAttachedToWindow())

I'm interested in android activity lifecycle and I would like to get more detailed description/documentation/reference than widely available basic (onCreate->onStart->onResume) one. My need comes from realizing that starting new activity (Theme.Dialog styled) from onAttachedToWindow() greatly improves response time if comparing to star...

Show a Copying-files dialog/form while manually copying files in C#?

I am manually copying some folders and files through C#, and I want to show the user that something is actually going on. Currently, the program looks as if its frozen, but it is actually copying files. I would think there is already a built-in dialog or form that shows the process, similar to copying/moving files in windows explorer. I...

Use WatiN for automation upload file on the website

I need upload file on the website. But Have a problem, i can't choose file automatic in code. Always browser show me choose file window. What wrong in my code? IE ie = new IE("https://www.xxxx.com/WFrmlogin.aspx"); FileUploadDialogHandler uploadHandler = new FileUploadDialogHandler(@"D:\065-6405_URGENT.xls"); ie.WaitForComplete(); ie.T...

Problems in Showmodal after assigning to Setparent(..).

I created two application MainApps and SubApps, the SubApps has a modal type dialogbox such as login/logout form etc. and its working fine. After I attach it to the MainApps, the Modal Dialog box shows like normal box form. It behaves like "DIALOG.SHOW" instead of "DIALOG.SHOWMODAL"; I am using delphi compiler SubApps buttonclick; ...

How to delay shutdown of an application when user logs off or shuts down Windows?

I am writing an application that runs in the background from startup to shutdown, and in some circumstances I need the application to display a dialogue for the user to choose whether or not to continue shutting down. This application will only be running on Windows, but may be running on any version from 2000 onward. While I have certa...

JQuery Dialog with constant aspect ratio

I need to display an image in a resizable dialog (so far all the specific image popup libraries I have tried do not fit my needs). All I want to do is maintain the aspect ratio during resizing. Sounds easy, but it's not. I thought something like this might work, but no dice: var d = $("").dialog({title:title, width:400, height:400}); ...

Dojo dialog, the iPad and the virtual keyboard issue

Recently, I have been working on a project where the interface should work for desktop and tablets (in particular the iPad). One issue I am coming across is with a Dojo dialog on the iPad when text entry is taking place. Basically here is what happens: Load Dojo interface with buttons on iPad - OK Press button (touch) to show dialo...

Jquery UI Dialog Weird Behavior in Firefox - Whole screen becomes non-clickable on second overlay

I have two links that show up two modal dialogs. These dialogs are static divs in the html of the page with their own ids. When I click the first link, the first dialog shows up and behaves correctly. But when I click the second link, the whole screen grays out and everything becomes unclickable, including the second dialog. It happens ...

Opening a Dialog with text input from within a View in Android

Hi, I have an app with a View based on the SurfaceHolder (similar to the Lunar Lander tutorial). The whole GUI is drawn on a canvas, and I want to be able to prompt for user text input at a given moment using a custom layout Dialog, that is then taken care of and rendered to the canvas using standard procedure. My problem, however, is ...

android dialog don't take parent size

Hello i create a dialog to zoom on an image, But my content is 240px and i would like to grow it to phone width, to "fill_parent", Could you tell me what's wrong here ? my picture stay small 240px, not 480px. Thanks final Dialog dialog = new Dialog(myview); dialog.setContentView(R.layout.zoom); dialog.setTitle(""+passInfoNom+" "); imgVi...

Instructions Package for Java

I want to make a help/instructions page for my Java program but I really don't want to have to go through and program all the frames and searching and such. Is there a package or program that I can just insert the data into and it will read it and create the dialog? I couldn't seem to find anything about it on Google. It doesn't have ...

What context do I use for a new Dialog?

I need a custom dialog to appear on button press. Here is my code: Button button3 = (Button) findViewById(R.id.Button03); button3.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { final Dialog custdialog = new Dialog(this); custdialog.setContentView(R.layout.cust...

When initializing a main window win32, when is the best time to show a modal dialog?

I'm trying to accomplish this in Win32, but I'm sure the same rules apply in the world of WinForms. Q: I create my main window, and then, when it is being shown, I want to show a modal dialog. The problem is; how can I know when the main window is completely initialized and visible? That is, exactly when is the best time to show the dia...

Full screen OpenGL app blinks every time an IME window is rendered on top of it

As the title suggests, I am trying to get the built-in Windows IMEs to render into a full screen OpenGL window. It seems that whether or not I actually change the display mode and just use a pop-up that fills the screen, I still get a prolonged black screen (for about 1 second) every time the IME GUI begins and ends its rendering. Oddl...

Ampersand accelerators cause a beep in a Win32 dialog

I have a dynamically created toolbar on a plain Win32 dialog. My buttons are added with & shortcuts which correctly puts underscore to characters following ampersand but pressing Alt+(char) causes a beep and the button is not clicked. It has been a while since I have done Win32 API development. Is there something that needs to be done t...

Open a Custom Dialog when clicking on a listview entry

I would like to open a custom dialog when someone clicks on a listview entry. That dialog will need to know the text that was clicked on in order to display additional information on that particular entry. Can anyone point me in the right direction on how to accomplish that? Thanks! ...

Is it possible to display a DialogPreference without showing a PreferenceScreen?

I'm currently writing a live wallpaper for Android and it has a PreferenceScreen which currently contains only one preference - a DialogPreference to set various properties of animation. User workflow to configure it currently looks like this: Settings... => (shows the preferences list with only one title ) Animation speed => MyDialogPr...

jQuery resizable dialog with the tinyMCE plugin shifts the titlebar

I have a jQuery dialog box that I'm popping up which has a TinyMCE editor plugin surrounding a text area. For some reason, whenever I make the dialog resizable (i.e. resizable: 'true'), the title bar shifts up about 10 pixels (i.e. the top is partially cut off). When the dialog is not resizable, the title bar does not move. I've tried...