Questions tagged [modeless]
98 questions
34
votes
4 answers
Using CreateDialog in VBA in an Attempt to Create Modeless Dialog Boxes
I want to create a modeless popup dialog in VBA 7.0.
So far the most promising route seems to be CreateDialog.
First I tried CreateDialogW and received Entry point not found for CreateDialogW in DLL.
After opening the DLL, I verified this function…

CBRF23
- 1,340
- 1
- 16
- 44
33
votes
4 answers
Why is a modal/modeless dialog called modal/modeless?
I always have trouble remembering whether the modal or modeless dialog is the one blocking operations in other parts of the application.
Does anyone know why they are called that way?

andreas buykx
- 12,608
- 10
- 62
- 76
25
votes
7 answers
Create a Modeless Messagebox
How might one go about creating a Modeless MessageBox? Do I have to just create my own Windows Form class and use that? If so, is there an easy way of adding a warning icon (rather than inserting my own image of one) and resizing based on text…

Smashery
- 57,848
- 30
- 97
- 128
17
votes
6 answers
Where do I control the behavior of the "X" close button in the upper right of a winform?
I'm venturing into making my VB.NET application a little better to use by making some of the forms modeless.
I think I've figured out how to use dlg.Show() and dlg.Hide() instead of calling dlg.ShowDialog(). I have an instance of my modeless dialog…

John
- 15,990
- 10
- 70
- 110
16
votes
1 answer
How close and delete a modeless qt dialog
I have create a modeless qdialog inside a method of a class:
//Test.cpp
QDialogMaintenance *diag = new QDialogMaintenance(this);
diag->show();
diag->raise();
diag->activateWindow();
I can close the dialog only clicking on the "X" icon in the…

Tom
- 4,007
- 24
- 69
- 105
12
votes
3 answers
Always-in-front dialogs
Is there a way to create a modeless dialog box in C++ MFC which always stays on top of the other windows in the application? I'm thinking sort of like the Find dialog in Visual Studio 2005 - where it stays on top, but you can still edit the…

Smashery
- 57,848
- 30
- 97
- 128
12
votes
3 answers
timed modeless dialog
Is there any way to show a modeless dialog--a dialog that allows the user to interact with whatever was on the screen before the dialog but also allows the user to interact with the dialog if pressed?
I know of Toasts, but they don't allow…

Grantland Chew
- 2,620
- 26
- 26
8
votes
5 answers
Is it better to show ProgressBar UserForms in VBA as modal or modeless?
Is it better to show ProgressBar UserForms in VBA as modal or modeless? What are the best practices for developing progress indicators in VBA?
Modeless UserForms require the use of Application.Interactive = False, whereas Modal UserForms by their…

Kuyenda
- 4,529
- 11
- 46
- 64
7
votes
1 answer
WPF modeless dialog renders textbox uneditable
A WPF form that I launch from a WinForms window shows up with all textboxes as uneditable when it's launched as a modeless dialog. It works well when it's a modal window. I'm still able to type spaces or paste text. But regular typing doesn't work.…

aliensurfer
- 1,600
- 3
- 17
- 38
7
votes
4 answers
difference between modal and modeless dialogs in MFC
Can you please help me gain a comprehensive knowledge about differences between modal and modeless dialogs by introducing me excellent tutorial links?
For example can you explain me about the programs that are linked here? Are they modal and…

Sepideh Abadpour
- 2,550
- 10
- 52
- 88
6
votes
4 answers
How can I show a modeless dialog and display information in it immediately?
I want to show a modeless dialog on the screen and display some information in it.
However if I use it the following way, it has some problems:
function()
{
showdialog(XXX).
//heavy work.
update the dialog..
//heavy work.
update the dialog...
}
It…

user25749
- 4,825
- 14
- 61
- 83
5
votes
1 answer
Android Modeless Popupwindow
I can't seem to create a modeless popupwindow in Android. I can create a popupwindow just fine, and it will receive events. However, what I need is for it to receive its events, and if the user clicks outside the popup window, the activity receives…

Aaron
- 81
- 4
5
votes
1 answer
VBA modeless form stops Function Keys
I'd like to have my own help file in my Excel program.
In the
Private Sub Workbook_Open()
I have
Application.OnKey "{F1}", "Help"
That works when I'm on the Excel sheet but my application is based on a fullscreen main userform which is displayed…

Sphinx
- 628
- 7
- 15
5
votes
3 answers
Modeless form that still pauses code execution
Is there anyway to have a userform that acts modeless, while still pausing code execution like a modal form?
I'd like the userform to show, but still allow interaction with the parent program. Modal forms block interaction with the parent program. …

lfrandom
- 1,013
- 2
- 10
- 32
4
votes
4 answers
Modeless JDialog not showing contents
(Java SE 6)
I'm trying to create a pop-up dialog that displays a "please wait" message while my program does some time-intensive work. To do this, I've chosen to use a modeless JDialog, so that the program continues to run and does work while the…

Riemannliness
- 1,121
- 1
- 9
- 9