dialogbox

C# Save Dialog box

I've got a save dialog box which pops up when i press a button. However i dont want to save a file at that point, i want to take the name and place it in the text box next to the button, for the name to be used later. Can anybody tell me how to obtain the file path from the save dialog box to use it later? ...

jQuery Dialog Box

Hi Guys, Im trying to do a dialog box with jquery. In this dialog box Im going to have terms and conditions. The problem is that the dialog box is only displayed for the FIRST TIME. This is the code. JavaScript: function showTOC() { $("#TOC").dialog({ modal: true, overlay: { opacity: 0.7, ...

Jquery confirmation box

I'm looking to create a generic confirmation box that can be used by multiple widgets easily, but I'm running into problems with scope and was hoping for a clearer way of doing what I'm trying to do. Currently I have the following - (function() { var global = this; global.confirmationBox = function() { config = { ...

How to show the "Are you sure you want to navigate away from this page?" when changes committed?

Here in stackoverflow, if you started to make changes then you attempt to navigate away from the page, a javascript confirm button shows up and asks: "Are you sure you want to navigate away from this page?" blee blah bloo... Has anyone implemented this before, how do I track that changes were committed? I believe I could do this myself,...

jquery dialog box

I am having quite a hard time trying to find some answers with this particular dialog box action. The problem is when the user presses the "enter" (keyCode = 13) button, the dialog closes...as if the 'esc' key was pressed. I want to keep the dialog box open even when "enter" is pressed. Fairly simple code, simple dialog box from jque...

Win32 Dialog closing on startup

Hey, I recently asked a question here about a dialog problem I had, but i discovered that the problem lies in such a different area i intentionally thought that I will rephrase my question here. The problem is that I've been working on a DirectX10 game engine. When the engine inits there should pop up a dialog box which gives the user ...

jQuery dialog box not opening 2nd time

I found this thread which basically has the same issue I have. But their solution is not working for me. The dialog appears the first time I click the submit button, but not the 2nd time. I'm opening the dialog box after a form submission. UPDATE I finally got it working. Here is the correct code: if (jQuery('#registrationforms')....

On dialog boxes

I'm trying to make a dialogue box which displays an answer and will print to the screen but am having no success. The code looks like this: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dialogbox; import javax.swing.JOptionPane; /** * * @author Tyranax87 */ public class M...

How to implement "Saving..." dialog box in Java?

I want to pop up a dialog box that says "Saving..." and once the operation is completed, it simply disappears. While the saving is in progress, I dont want the user to be able to do anything. I also dont want an OK button. What is the name of the Java class that allows me to do this? ...

MyComputer as initial directory

Hi, Is there a way for a open file dialog to use the "My Computer" instead of a specific path. In this example, the W: drive is the intial directory. Dim dlgOpen As New Microsoft.Win32.OpenFileDialog dlgOpen.Filter = "Bases de données Access(*.mdb)|*.mdb" dlgOpen.InitialDirectory = "W:" I figure there must be a value...

MSVC and Win32: Call to DialogBox(...) skipping WM_INITDIALOG

I'm writing a GUI driven by dialog boxes using Win32 and MSVC 6.0, and I'm struggling to understand the usage of WM_INITDIALOG. It's my understanding that WM_INITDIALOG will be called by the dialog process prior to painting it to the screen. The issue I'm having is that WM_INITDIALOG is being called only when I am stepping through the ...

How do I add a "browse for file" dialog box to the transferText command?

I'm creating a macro in MS Access that imports a CSV file into a table. I'm using the TransferText action to import the CSV string, and I want to allow the user to browse for the file that contains the CSV string. How do I show the "browse" dialog box to enable the user to choose the file? ...

Add toolbar Dialogbox with Win32 API

Hi; I have a dialog box on which controls are added with resource editor. But I am trying to create a toolbar on the fly in WM_INITGDIALOG message but the toolbar is not visible. Is there something else to do make it visible(I dont think so but...). If this is not possible how can add a toolbar in resource editor. As you guessed I use ...

Paging Buttons and Re-using Jquery Dialog Boxes

I have a dialog box that has AJAX loaded content. I want to have two buttons on the dialog box: a next and previous, which will load new AJAX content into the dialog box. Is it better to re-use the current dialog box, or destroy it and create a new one? When I've tried re-using the dialog boxes (by updating an internal div wit...

C++ Dialog box With timer

Hi, I couldn't find a simple tutorial on how to make a dialog box with decrementing timer. I don't need the timer to be accurate or actually reflect my program's inner timer. ...

MVP : Dialog boxes that return value and testable code

In my MVP pattern (Passive view) based application (.NET), I have separated out the message boxes into the View so that when I test my presenter and model my testing code is not affected by the need to show user some information. But I don't know how to accommodate dialog boxes, when user's input is required to decide on a course of acti...

Not able to Show a Dialog Box in its class using SW_SHOW in MFC?

Hello all, I am trying to create a wizard like structure using dialog boxes...So I replaced the code in CDialog1App as below CDialog1Dlg* dlg = new CDialog1Dlg; m_pMainWnd = dlg; dlg->Create(IDD_DIALOG1); dlg->ShowWindow(SW_SHOW); the above worked fine...its displying the dialog box.but I have added another dialog box... So ...

How to get the window position and update to other windows?

Hi all..I have 2 dialog boxes in which I will display 1 dialogbox at a time..If I click NEXT in the first dialog box,I will hide the first dialog box and display the second dialog and vice versa...Now say If I move the dialog box after clicking NEXT in the first dialog..and when I click BACK(in the second dialog) ...it goes back to its p...

Why can't my program display this dialog box, while another program can?

I'm trying to write a wrapper for Winamp input plugins and have hit a bit of a snag. I'd like my wrapper to be able to display a plugin's configuration dialog, which is (or should be) achieved by calling the plugin's Config(HWND hwndParent) function. For most plugins, this works fine and my program is able to display the plugin's confi...

Connecting two DialogBoxes in GWT

In my GWT project, I'm trying to get it so two DialogBoxes can pass information between each other. One of them holds a MapWidget, and when a button is pressed in the other DialogBox, the position information is received from that other DialogBox's MapWidget. Does anyone have any tips for how I should coordinate between having two diff...