System modal dialog boxes

Please support our C++ advertiser: Download Intel® Parallel Studio Eval
Reply

Join Date: Jun 2006
Posts: 2
Reputation: Bill Hughes is an unknown quantity at this point 
Solved Threads: 0
Bill Hughes Bill Hughes is offline Offline
Newbie Poster

System modal dialog boxes

 
0
  #1
Jun 24th, 2006
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: System modal dialog boxes

 
0
  #2
Jun 25th, 2006
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.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 4989 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC