dialog

Excel built-in dialogs

Does anybody know how to call the import data built-in dialog excel from a macro (vba). I've tried Application.Dialogs.Item(...).Show but I can´t find the right dialog. Thanks in advance. ...

How to validate .NET dialog items when using automatic DialogResult?

At the moment I have setup a custom ok cancel dialog with a drop down in c#. The ok and cancel buttons use the DialogResult property so no code behind it. What I now need to do is validate the drop down to check it isn't left empty before posting back a dialogresult. Is this possible? ...

MFC - execute code right after dialog is shown (.NET equivalent of Form.Shown)

I'm doing some small changes to C++ MFC project. I'm .NET developer so Windows programming is new to me. I need to launch some method right after CDialog is completely shown (painted) for the first time, but only once. How can I do this? In .NET I would handle Form.Shown event. Do I need to handle some message? Which? Do I need to ove...

ActiveX in IE. Dialog Box not showing XP Visual Style

I have an ActiveX control in IE (7). When it shows a dialog box, the dialog box is not showing in XP visual style. I have tried embedding manifests to no avail. Anybody got any idea? by the way, the dialog boxes were implemented using wtl. ...

Dismiss a system dialog on BlackBerry

Hi guys, I have a BlackBerry app running in the background that needs to know when a "Missed call" system dialog is brought up by the system, and programmatically close it without user intervention. How can I do that? I could actually almost know when the dialog is brought up, i.e. a little later I programmatically end the call...but ho...

Custom Cursor in a Swing JDialog

I have a Java Swing application, developed on Mac OS X 10.5 using Java 1.5. I'm trying to make a custom cursor appear when the user moves the mouse over some text in a dialog. The cursor never changes, though. When I don't use a JFrame instead of a JDialog, the cursor does change. But then I'll have to write all the dialog code myself...

How to create a Flash 9/ActionScript 3.0 wizard dialog

I need to create a wizard for a Flash 9/ActionScript 3.0 application. The wizard would be a set of dialogs/windows for each step and the buttons "back/next/cancel" for navigation through the wizard. Within the Adobe CS3 authoring environment there does not seem to be a straightforward way to create a set of dialogs or windows that would...

How to close a system dialog on a BlackBerry?

Hi guys, I have a BlackBerry app running in the background that needs to know when a "Missed call" system dialog is brought up by the system, and programmatically close it without user intervention. How can I do that? I could actually almost know when the dialog is brought up, i.e. a little later I programmatically end the call...but ho...

Is there a multiple input JOptionPane in Java?

Hey all, I was wondering if there is a JOptionPane where you can get multiple inputs from a user instead of just one? If not, how could i accomplish this using some type of prompt. I am creating Battleship, and wanted to prompt the user to specify locations to place each ship. Thanks, Tomek ...

How do I add a menu for a Windows Mobile 5 Dialog application?

Hi all. I'm new to Windows Mobile 5 programming, but not to MFC. I need to port a Windows dialog app from VS2005 to Windows Mobile. I'm using VS2005 and a C++ Smart Device application project. In the Windows PC app, I can add a menu to the dialog. But I can't seem to figure out how to see the menu in Windows Mobile. The menu is there ...

Close all modal dialogs in Dojo

Does anybody know how I can close all modal dialogs created by Dojo ? Apparently there used to be a dojo.popup.closeAll function, but this is no longer available in the latest version of the Dojo API that comes with Spring JS. ...

MFC> Connecting a dialog to a dialog class

Hi All, Need your help for the following issue: I have defined a new dialog and its controls in an already existing resource file. I have also created a new file which will handle the events being generated from this dialog. But i am not sure how to connect these two. Is the statement *enum { IDD=IDD_NEW_DIALOG };* all that is requ...

Question about Modeless Dialog in MFC

I have a question about modeless dialog, I want to show an dialog on the screen, then it will display some information in it. However if I used the following way, it has some problems: function() { showdialog(XXX). //heavy work. update the dialog.. //heavy work. update the dialog... } it seems the dialog displayed ,but it do not draw a...

Fix or workarount for jQuery dialog in IE6 - major layout issues when the dialog contains a form

I'm working with a jQuery dialog that contains a form. In ie6, there are a couple unexplained inches of padding above the form. When I eliminate the form from the markup, the most serious layout problems go away. I've tried it with no theme (default), Flora, and my themeroller theme and they all seem to have the same problem. I've tried...

jQuery.dialog doesn't generate themeroller classes?

JSBin sample Get at that with Firebug and you'll notice something about the classes of the generated dialog - ui-widget and/or ui-state are completely absent, but those are the classes that ThemeRoller uses to color UI elements! Is there some sort of ThemeRoller-compliant dialog generator, or even a script to hack the right display cla...

Can you wait for javascript callback?

I'm trying to use the jQuery alerts dialog library from http://abeautifulsite.net/notebook/87 instead of the default alerts (which look pretty awful in my opinion). This seems to be a great library, but there is not an example of how to use the jConfirm library. I need to do something like this: function confirm() { var result ...

eclipse find resource not compiled

when i click Ctrl+Shift+R i get dialog that allows me to find resource, however it shows resource not compiled and compiled. Is there any way to make it show just not compiled resource? or hide compiled? ...

IE Add-on to Bypass Print Dialog - Where to Start?

I need to write an add-on/plugin for IE 6/7 that will intercept any Javascript print() call and automatically print the page on the default printer, bypassing the standard print dialog. Unfortunately I know very little about Windows or IE programming (I come from the land of Cocoa), so I'm at a bit of a loss as to where to begin. I think...

Handling Dialogs in WPF with MVVM

In the MVVM pattern for WPF, handling dialogs is one of the more complex operations. As your view model does not know anything about the view, dialog communication can be interesting. I can expose an ICommand that when the view invokes it, a dialog can appear. Does anyone know of a good way to handle results from dialogs? I am speakin...

automate excel file processing in perl and avoid dialog/UI interactions

How can a I guarantee that no pop-up dialogs will appear when I automate Microsoft Excel through OLE? I'm using a Perl module (Win32::OLE). I can avoid most dialog pop-ups using the following code: use Win32::OLE; use Win32::OLE::Variant; use Win32::OLE::Const; my $excel_symbols = Win32::OLE::Const->Load('Microsoft Excel'); my $excel =...