941,512 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 7005
  • C++ RSS
Jun 24th, 2006
0

System modal dialog boxes

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Bill Hughes is offline Offline
2 posts
since Jun 2006
Jun 25th, 2006
0

Re: System modal dialog boxes

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.
Moderator
Reputation Points: 572
Solved Threads: 115
Mentally Challenged Mod.
WolfPack is offline Offline
1,559 posts
since Jun 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: friend functions
Next Thread in C++ Forum Timeline: Dynamic Array of Structures, Loop problem!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC