dialog

FloatableWindow resizes Grid in Silverlight

I'm trying to use Tim Heuer's FloatableWindow control for a non-modal options window in my Silverlight application. However, I'm running into a problem with the FloatableWindow resizing it's parent grid when it opens. For example, before I open the window the application looks like this: But after opening the window, the first row of ...

AlertDialog.Builder vs class to extend AlertDialog - Application size

I am trying to figure out what is the best way to go about creating dialogs. I can either create my own Dialog class (which, to me, is more clean and organized), or I can use AlertDialog.Builder (which would be done inline, and funky looking)... What are the positivies and negatives of either implementation? The only thing I can think o...

Giving dialogbox focus

I'm creating a dialogbox with a picture control and whenever I initialize the dialog it sets the focus to that picture control, is there any way to give dialog the default without resetting the focus from picture control? ...

How to utilize the Windows Vista/7 Dialogs?

I have noticed that the Windows Vista/7 dialogs look MUCH better than just a MessageBox. How can I use them with a P/Invoke? ...

Mulitple ui-widget-overlay with multiple dialog boxes

I've got this - $(function(){ var dialogOpts = { autoOpen: true, height: 400, width: 600, position: ["center", "center"], modal: true, closeOnEscape: true, }; $("#contact").dialog(dialogOpts); $("#why").dialog(dialogOpts);...

jQueryUI setting options in a variable - syntax for effects

$(function(){ var dialogOpts = { autoOpen: false, height: 400, width: 600, position: ["center", "center"], modal: false, closeOnEscape: true, stack: true, draggable: true, show: "clip", hi...

How can the SelectDirectory Dialog in Delphi dynamically validate the highlighted folder?

Is there a way to enable / disable the Ok button in the SelectDirectory Dialog based on a validation rule, for example: enable the OK button if the name of the highlighted folder is 'config' enable the OK button if the highlighted folder contains a file with the name '.project' and a folder with the name '.settings' ? ...

jQuery UI dialog and Ajax POST, JSON

Is it possible to combine Ajax post with jQuery UI dialog? And I want to process the ajax reponse in JSON to HTML for showing inside the Dialog box var url = AJAX_URL+requestId+'/'+userId; // Need to POST the requestId and userId instead of GET $("body").append("<div id='dialog-modal'>Loading...</div>"); $("#dialog-modal").dialog("dest...

Win32: edit control selection in dialog-based app

I have a dialog-based app with an edit-control in it. When I minimize / restore the app, everything's ok. But when I hide all the windows with holding down that Windows-logo-key and pressing "D" and then I restore the app, the edit-control selects everything inside it. How to make it not to select the text on restore? ...

Android Class which extends Dialog, how to clear TextViews before it is displayed

I have a class that extends android.app.Dialog, the layout is done in an xml file, and the setup (button listeners, etc) is done on the onCreate method. My problem is that whenever the dialog is displayed, then dismissed, and displayed again, the Editable TextViews are still populated with the information that was displayed previously. ...

Access violations in strange places when using Windows file dialogs

A long time ago I found out that I was getting access violations in my code due to the use of the Delphi Open File and/or Save File dialogs, which encapsulate the Windows dialogs. I asked some questions on a few forums and I was told that it may have been due to the way some programs add hooks to the shell system that result in DLLs ge...

Dojo Dijit Dialog relative position. is it possible?

Hello Friends, I want to position Dojo's Dijit Dialog relative to one of my html element. is it Possible? If yes. How? currently it always shows dialog in middle of viewport. Can any one help me regarding the matter? Thanks. amar4kintu ...

Get content in iframe to use as much space as it needs

I'm trying to write a simple JavaScript based modal dialog. The JavaScript function takes the content, puts it in a new iframe and adds the iframe to the page. Works great so far, the only problem is that the content of the dialog (e.g. a table) gets wrapped, although plenty of space is available on the page. I'd like the content of the...

CKEditor Modal Issues.

So I'm using CKeditor inside of a jQueryUI dialog. The issue I'm having is when you click on a button like the "link" button, the modal that pops up, won't let me type anything into it's inputs. I can change the values of the pull downs, I can drag the modal around the screen, and I can click on the buttons. But when I attempt to type in...

a simple php form in a dialog box or a pop up.

Hii , I have a small php form. I need it to come in a pop up(dialog) when a user clicks a link .how do i do this using jquery . ...

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...

How to add canvas in MFC Dialog?

I want to create an application which main window has canvas (or something where I can draw custom things) and some controls, like buttons and edit fields. But I got stuck about how to do it. I tried to create MFC with SDI, but how to add control to CDC..? I tried to create one dialog with buttons and edit fields, but which control refe...

Only 16 colors for CColorDialog?

Someone knows some way of putting only 16 colors in the CColorDialog of Visual Studio c++ when it is opened? ...

Form usable even when a modal dialog is above

I have a Dialog A and I want it to load a second dialog B which is modeless and stays along side A throughout. Dialog A may then launch a modal dialog C. But when C is present I want B to be usable. I would have fixed this with pretranslate message in A in a C++ application but what is the approach in C#. ...

jQuery UI dialog box empty content in IE

it works fine in FF, safari and Chrome. When I call .dialog() function, it pops up the dialog box, but it has an empty content which is not suppose to be empty. It has some textfields, labels, etc. What might have caused this? ...