Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 vbSystemModal
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
SuperGenius




PostPosted: Sat Oct 30, 2004 10:59 am   Post subject: vbSystemModal

If one were to use this command would it mess up other programs? I imagine that certain applications would not like being frozen and screw up....?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Sat Oct 30, 2004 1:36 pm   Post subject: (No subject)

only if you're executing such in a Win16 environment (windows 3.1)

in win32
MSDN wrote:

vbSystemModal [4096] System modal. On Win32 systems, this constant provides an application modal message box that always remains on top of any other programs you may have running.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
SuperGenius




PostPosted: Sun Oct 31, 2004 2:13 pm   Post subject: (No subject)

If you made a message box with no exit button can someone still get out of it by ctrl+alt+del or other means?
Brightguy




PostPosted: Sun Oct 31, 2004 3:03 pm   Post subject: Re: vbSystemModal

Try it and see...
They should be able to use Ctrl+Alt+Delete to close your program.
wtd




PostPosted: Sun Oct 31, 2004 3:29 pm   Post subject: (No subject)

Just use an API call which leaks memory. Eventually the computer will crash and the dialog will go away.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: