|
Modal dialogs are evil, but I keep reading "You should remove modal dialogs when possible "
When isn't it possible to remove modal dialogs? I mean, what are some truly modal tasks that force us to use evil modal dialogs?
The most common given example ...
Started by Pyrolistical on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This is a frequent interaction pattern for modal dialogs in a centralized dialog....
Use Cases for Modal Dialogs blocking the application flow until information required to continue of the current action are not reversible.
|
|
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.
Started by Alex Marshall on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This will....
All the dialogs' content is xhrGot from the server, and I spend the entire dojo-time withinIt appears that the only valid way now is to keep track of your dialogs and close them all when needed using hide().
It is modal).
|
|
How can I programmatically detect if my MFC application currently is displaying a modal dialog or property sheet? Currently I'm using the following, but I feel that the code also triggers for modeless dialogs.
bool HasModalDialog(const CWnd* pWnd) { const...
Started by dalle on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit 2 for a disabled parent/owner....
Edit 1: According to Raymond Chen , GetLastActivePopup should return the current active modal dialog.
GetLastActivePopup ?
I haven't tested this to see if it'll work for modal dialogs only.
|
Ask your Facebook Friends
|
Are modal windows/dialogs considered a good practice for websites? One of the things that concerns me about using a modal window is that it is so much like a pop-up window and it could cause user frustration or cause users to simply close it because it...
Started by VirtuosiMedia on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Whenever the modal dialog should, if I had....
Or media, I've used modal dialogs to serve the same purpose as dialog boxes - to get the user is to take the content of the modal dialog and place it on a page.
|
|
I'm adding C# WPF dialogs to an existing C++ MFC app, using a C++/CLI interface layer. I've got things working, except I'm having a problem with modality. For example:
MFC app shows a WPF dialog using ShowDialog. Works as expected. That WPF dialog shows...
Started by Joe on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then, you can use CWnd::Attach to wrap that HWND in a CWnd class to pass is what it uses as the parent when ... .
When showing the WPF dialog, are you using the HwndSource class to wrap the WPF window? If so, you the parent WPF dialog's HWND.
|
|
I have to write an applet that brings up a password dialog. The problem is that dialog is set to be always on top but when user clicks on IE window dialog gets hidden behind IE window nevertheless. And since dialog is modal and holds all IE threads IE...
Started by jb on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Good luck!
Make a background Thread that calls toFront on the Dialog every 2 secondsYou might try launching a modal from JavaScript using the JavaScript integration (see http.
Looking modal.
|
|
(I have tightened up my original example) I'm trying to invoke modal dialogs from within a tabbed UI, and I'm confused about the behavior I'm seeing. The first time I display the UI, my dialog behaves as expected, I can pull the data out of the fields...
Started by guaguanco on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Using FireBug....
This may also cause problems.
(); }); //instantiate the dialog $(initializeUI.win).dialog({ height: 350, width: 400, modal: true, position buttons with the id "button1"; one inside the modal div and one outside.
|
|
I've got a shell tray icon with an attached context menu. The problem I'm having is that calling ShowDialog() from a context menu Clicked handler does not result in a modal dialog.
It's easy to reproduce this with a default C# project. Simply add the ...
Answer Snippets (Read the full thread at stackoverflow):
I would suggest doing two things before you attempt to display a modal message box:
Make your it when a dialog is open..
|
|
I'm using Peter Below's PBThreadedSplashForm to display during application startup. It gets updated as various databases are opened during the creation of the data module (just before the main form is created).
The problem is that we have a check for ...
Started by Ken White on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The dialog....
The problem; the modal dialog displays above the splash screen, and because it's modal the splash screen the other dialog (the one hidden by the splash screen) be a topmost window, but he ultimately avoided.
|
|
We have implemented a popup window as a modal dialog using the IE method:
window.ShowModelDialog(...aspx)
The target of the popup window is itself an ASP.Net web page.
Assume for the following steps that the popup has never been launched:
Launch popup...
Started by Andy McCluggage on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I’m not sure whether using modal dialogs in web browsersAdd a timestamp querystring variable to the URL of the dialog content - number of ticks since.
To disable caching on these modal dialogs.
|