| | |
System modal dialog boxes
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
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!
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char char* class code coding compile compiler console conversion count data database delete deploy developer dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game getline givemetehcodez graph gui homeworkhelp homeworkhelper iamthwee ifstream input int java lib linker list loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference rpg sorting string strings temperature template test text text-file tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






