Link to home
Start Free TrialLog in
Avatar of asbabu
asbabu

asked on

System Modal dialog

How can I create a System modal window or System modal dialogBox?
When a System modal dialog is displayed, user can not switch to any other application with out responding to System modal dialog. is it True for Windows95? if so, can any one please tell me how to create this dialog using VC++ or Visual Basic or SDK.

Thanks & regards
Surendra
Avatar of cookre
cookre
Flag of United States of America image

Under MSVC++ 6, select the 'insert' menu item, 'add resource', format the dialog then right click it, select 'properties' then the 'more styles' tab.  There's a check box for system modal.

Avatar of tonnybrandt
tonnybrandt

This page will tell you how to make a system modal dialog in VB.
http://support.microsoft.com/support/kb/articles/Q147/8/17.asp
It also states that it works in win 3.1, win95 and win98.
Hope this helps
ASKER CERTIFIED SOLUTION
Avatar of tonnybrandt
tonnybrandt

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of asbabu

ASKER

 sorry for late reply. i had some problem (may be b'caz of our local problems)while posting this answer.

Hi Cookre,
   As you said we can create system modal dialog. but the problem here is , it allows user to switch to other applications by keeping the System modal window on Top.I think in windows 3.1(or in win16 platform) only it does not allow user to switch to other applications when system modal dialog box is displayed. am i right? thanks for  your response.

Hi Tonny,
   I visited the site given by you. but  the API function (SetsysModal()) is provided in yser.dll but not in user32.dll. it is not provided in Win32 platform( it is mentioned in that site also). and the behaviour of System Modal window is changed in win32. it is as i explained above.please let me know if my explanation is worng.thanks for your response.

Thanks & Regards
Surendra.