| | |
System modal dialog boxes
![]() |
•
•
Join Date: Jun 2006
Posts: 2
Reputation:
Solved Threads: 0
I am using VC++ 6 and MFC. I programmed a dialog box as modal I understood or misunderstood that once opened the user would have to supply the information before they continue using other applications.
I believe if the dialog is opened from another application this is true. I am opening it as a stand alone application. I have been trying to research System Modal Dialogs but can't find any information on them.
Some how windows accomplishes this during login and log off dialogs.
If I could open the dialog box and grap control of the mouse I could accomplish the same thing.
Only problem I don't have a clue how to do it except tring to intercept the mouse messages.
Sorry about the length.
Good Computing,
TE1
I believe if the dialog is opened from another application this is true. I am opening it as a stand alone application. I have been trying to research System Modal Dialogs but can't find any information on them.
Some how windows accomplishes this during login and log off dialogs.
If I could open the dialog box and grap control of the mouse I could accomplish the same thing.
Only problem I don't have a clue how to do it except tring to intercept the mouse messages.
Sorry about the length.
Good Computing,
TE1
There used to be a dialog box style (DS_SYSMODAL) that created a dialog box in system modal mode. But it is only there for compatibility with 16bit windows and doesn't prevent the user from clicking other items on the desktop. So I guess you will have to intercept the mouse messages. But even then the user will be able to move through dialogs using the Alt+Tab combination. So you better look at How to Disable Task Switching.
バルサミコ酢やっぱいらへんで
![]() |
Similar Threads
- Send data on a serial port (C++)
- Get Fast Access to System Settings (Windows tips 'n' tweaks)
- Creating an OS in visual basic 6.0 (Visual Basic 4 / 5 / 6)
- help on dialog boxes (C)
- help? trying to compare input with symbol. (Java)
- Need Help on showInputDialog (Java)
- Dialog Boxes at Staartup - Get rid of Them! (Windows NT / 2000 / XP)
- Internet Explorer Bug lets you run DOS commands remotely (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: friend functions
- Next Thread: Dynamic Array of Structures, Loop problem!
Views: 4989 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api array arrays assignment beginner binary borland c++ c/c++ calculator char class classes code compile compiler console constructor conversion convert count data delete desktop dll encryption error file forms fstream function functions game givemetehcodez graph homework http iamthwee ifstream input int java lazy lib link linker list loop loops map math matrix memory newbie news number objects output pointer pointers problem program programming project python qt random read recursion recursive reference return search sort sorting spoonfeeding string strings struct student studio system template templates text tree url variable vc++ vector video visual visualstudio win32 window windows winsock wordfrequency wxwidgets






