dialog

How do I create a draggable and resizable JavaScript popup window?

I want to create a draggable and resizable window in JavaScript for cross browser use, but I want to try and avoid using a framework if I can. Has anyone got a link or some code that I can use? ...

How do I make the jquery dialog work with the themeroller themes?

Hello, I am trying out the dialog from jquery ui. All the online demos use flora.css. I can't the dialog to display correctly with the css file generated by the themeroller application. Am I missing something? shouldn't these things work out of the box? Update: Thanks, Brock. When I cleaned up my code to make a sample, I realized that ...

A problem with the jquery dialog when using the themeroller css

Hello, The demos for the jquery ui dialog all use the "flora" theme. I wanted a customized theme, so I used the themeroller to generate a css file. When I used it, everything seemed to be working fine, but later I found that I can't control any input element contained in the dialog (i.e, can't type into a text field, can't check checkb...

How do you programmatically change the tab order in a Win32 dialog?

Often time I need to add a control to a dialog after the dialog has been generated via dialog template and CreateDialogIndirect. In these cases the tab order is set by the dialog template and there is no obvious way to change the tab order by including a newly created control. ...

How to Prevent the "Please tell Microsoft about this problem" Dialog Boxes

We have an error that we can't seem to find and don't have the need/resources to try and track it down. What we do need to do is just keep the freaking "Please tell Microsoft about this problem" dialog boxes from cluttering up the server. It is from an MS-Access error (we think) but I can't find where Access is installed (I don't think...

MFC IE embedded web browser wackiness

I have this modeless MFC dialog which embeds an Internet Explorer web browser control. The control is derived straight from CWnd with ActiveX wrappers generated by Visual Studio, and I map it to the CDialog using only a "DDX_Control(pDX, IDC_EXPLORER, m_explorer);" I have 2 problems. Problem #1: Being modeless, I start and stop the di...

Windows API Dialogs without using resource files

I'm trying to create a dialog box using C++ and the windows API, but I don't want the dialog defined in a resource file. I can't find anything good on this on the web, none of the examples I've read seem to define the dialog programmatically. Anyone know how to do this? A simple example is fine, I'm not doing anything complicated with i...

C# ODBC Dialog

Any information on how to display the ODBC connections dialog and get the chosen ODBC back? ...

Mono-Develop throws error "" when trying to create select Gtk objects (dialogs), why?

I've recently started playing with Mono (1.9.1) on Ubuntu 8.04 with the Mono-Develop IDE (v1). I am attempting to use GTK-Sharp 2 to run the GUI for the play apps. For some reason when I try to create gtk dialogs (ColorSelectionDialog or MessageDialog) the compiler throws the error "'Gtk.ColorSelectionDialog.ColorSelectionDialog(GLib.G...

OpenFileDialog. How about "Specify Directory Dialog"?

On a file path field, I want to capture the directory path like: textbox1.Text = directory path Anyone? ...

How would you handle users who don't read dialog boxes?

A recent article on Arstechnica discusses a recent study performed by Psychology Department of North Carolina State University, that showed users have a tendancy to do what ever it takes to get rid of a dialog box to get back to their task at hand. Most of them would click ok or yes, minimize the dialog, or close the dialog, regardless ...

Windows C++ dialog resizer class

I'm looking for a really good dialog resizer class that will stretch and shrink individual items as needed as the screen is resized. Stephan Keil has a good one (DlgResizeHelper) which basically resizes everything by a set ratio, but I'm looking for something smarter. For example: Icons should not resize Single-line text boxes should...

How to avoid flicker while handling WM_ERASEBKGND in Windows dialog

I have a dialog that resizes. It also has a custom background which I paint in response to a WM_ERASEBKGND call (currently a simple call to FillSolidRect). When the dialog is resized, there is tremendous flickering going on. To try and reduce the flickering I enumerate all child windows and add them to the clipping region. That see...

jQuery: Problem with windowed controls in IE6

I have a web page which contains a select box. When I open a jQuery Dialog it is displayed partly behind the select box. How should I approach this problem? Should I hide the select box or does jQuery offer some kind of 'shim' solution. (I have Googled but didn't find anything) Here is some code: <!DOCTYPE html> <html lang="en"> <hea...

Synchronous dialogs in Flex?

How can I open a synchronous dialog in Flex? I need to call a function from an External Interface (JavaScript) that will open a simple dialog in the Flex application and returns an value according to the button the user has clicked (OK/Cancel). So it should by a synchronous call to a dialog, i.e. the call waits until the user has closed...

Using a Windows Form with Ruby

Is it possible to create a form on Windows using Ruby? I have a Ruby script and I would like to have an input form to ask for a user's password, then use this in the rest of my script. update: I have successfully done this with wxRuby, although it looks ugly. Shoes looks promising, I might look into that if I need to do this again.. ...

Is it possible to get Message Box in web forms?

I tried but I guess Message Box only works with win forms. What is the best alternative to use in web forms? ...

Get XP to automatically "press" the default button on a dialog box

Some time ago, I came across an online article that described how to configure Windows XP to automatically accept the default option on a dialog box. As I (vaguely) recall, it was some sort of oddball registry configuration that did this, and it amazingly worked. Yeah - it's dangerous, but it would be very helpful right now with a proble...

Browse for a File from Excel VBA

How can I put up a "File Open" dialog from some VBA running in Excel? I'm using Excel 2003. ...

Installer Dialog comes up with Scroll bars on 800x480 resolution

I am building an msi using WISE. The Dialogs appear fine when run on a 1280x800 resolution screen. But when I run the same msi on a 800x480 resolution screen, the installer dialog appears really huge and you cannot see the whole dialog on the screen.However, the dialog now comes up with a vertical and horizontal scrollbar allowing you to...