Questions tagged [modeless]
98 questions
1
vote
3 answers
Missing WM_LBUTTONDOWN
I have a very weird behaviour in a screen with a modeless dialog and I cannot find a solution.
I open a modeless dialog by clicking on a button in a view. As the dialog is not modal I should be able to click any other buttons in this view while the…

Javier De Pedro
- 2,219
- 4
- 32
- 49
1
vote
0 answers
Why does the taskbar appear when modeless dialog displayed on top of 3rd party fullscreen app?
I've uploaded a VS2010 project at the below location. This test app should be run once you have a full screen application running. As soon as its running, you have 2 seconds to click back on your fullscreen application. It creates 2 modeless dialog…

SparkyNZ
- 6,266
- 7
- 39
- 80
1
vote
2 answers
Modeless dialogs and accelerators
I want to perform some action when the user presses CTRL+S inside a modeless dialog.
Accelerators would be perfect for this, except that I don't have control over the thread's message loop (think plugin), so I can't call TranslateAccelerator.
A…

pezcode
- 5,490
- 2
- 24
- 37
1
vote
2 answers
MFC App with main window as modeless dialog
I am developing an MFC application and exporting it into dll. The application has only one window, and I want that window modeless. Inside InitInstance(), if I want it to be modal, I only need to do…

user654894
- 195
- 5
- 12
1
vote
0 answers
How to create a modeless text-editing dialog in Flutter like Cut/Copy/Paste?
The Flutter TextField has a really nice modeless dialog that appears above the field and stays visible even when the view is scrolled:
I need to create something very similar for when the user taps in a TextField (not when they select characters,…

buttonsrtoys
- 2,359
- 3
- 32
- 52
1
vote
2 answers
How to prevent non modal windows on a new STA thread from closing
I want to open some non model windows (WPF) but at the point that this has to happen I am on a non STA thread. So I start a new thread and open them on there. But as soon as the are opened they close again. (By the way. the behaviour of these…

Core-One
- 466
- 2
- 6
- 19
1
vote
1 answer
wxPython: Why does modeless, non modal dialog stay on top of parent window?
I want to open a dialog modeless with Show(). After opening I can click on the parent window so the dialog opened successfully modeless.
The problem I have is that the modeless dialog always stays on top of the parent window. I want the parent to…

Mace
- 1,355
- 8
- 13
1
vote
0 answers
How to keep several modeless VBA forms running on Excel
How to keep several modeless VBA forms running simultaneously on Excel?
I have a modeless form which pops up using UserForm.Show(False) when a workbook has been inactive for too long. The form has a timeout counter and if it's not interrupted (user…

MrFreeze
- 25
- 6
1
vote
2 answers
How to send child data to parent instantly in modeless WPF app window
Using VS2019 - WPF App : My goal is to do a live-update of parent window ListBox by editing modeless child window TextBox, is it possible?
Imagine an app that has a list of users to which you can add, remove, edit and view. Add and Edit are working…

Volikaris
- 13
- 5
1
vote
2 answers
MFC modeless and modal dialog
I have an application with tray icon. There is a hidden main window (CMainFrm), which is used to process tray icon messages. The tray icon has a context menu: Settings, Help, Exit commands.
When user chooses Settings, the modeless settings dialog is…

Sergey Vyacheslavovich Brunov
- 17,291
- 7
- 48
- 81
1
vote
1 answer
Is there a way to call modeless form in pages using cakephp3
as what I read online it will only be available for like this
http://localhost/xxxxx/contact then the form will display
but I want it to display in many pages like contact us, or about us page
when i call this pages I want the form appear in the…

Jervyn Paller
- 73
- 2
- 7
1
vote
1 answer
Win32: Toolbar dialog seems to never get focus and causes the main window to process slow?
I'm writing an application following this tutorial. I'm aware that this tutorial dates, and as such, I have adapted the code to take into consideration the unicode.
I have a main window which looks like an MDI. Then, I have a View menu which toggles…

Will Marcouiller
- 23,773
- 22
- 96
- 162
1
vote
1 answer
C# UWP Windows 10 CustomDialog: How do you show as Modeless? I can't let it freeze the info behind.
If there is no Modeless option(?) is there another way to make a small movable informational Dialog/Window/Page on top of my page. I need to keep this up as a reference but have it be movable so the underlying information can be revealed. Visual…

Rick
- 106
- 9
1
vote
2 answers
VBA best practices for modules relative to modeless userforms
I came across this similar issue and read the replies: Modeless form that still pauses code execution
I have been attempting to apply in my own situation the suggestion provided by David Zemens. In my situation, I cannot seem to find an approach…

Michael Schulz
- 35
- 3
1
vote
0 answers
Call AfxGetMainWnd() from derived class of DialogEx returns NULL
I need to gain access to a member of main frame and can be changed by reference.
Here is a free function to get main frame
inline CMainFrame* GetMainFrame()
{
CMainFrame* mainFrame = dynamic_cast(AfxGetMainWnd());
…

Tajuddin Khandaker
- 660
- 6
- 20