Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Show form as systemModalForm

Posted on 1999-06-29
Medium Priority
Last Modified: 2010-05-02
How I am going to show  a form that similar to vbmodal form but this form will disable me from activate any others application unless i make it this form visible = false.

This form have button visible and invisible
press invisible button : unlock the windows
press visible button  : lock the windows

it like screen saver concept...
How to explain haaaa...???
Somebody please understand me....
Thanks for trying understand me....
Question by:zubairi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

slgal earned 50 total points
ID: 1520853
Your question is not too diffcult to understand.

I think you should work it out with the LostFocus event of your form.
In the LostFocus event, if the window is to be locked, just set the focus back to the window is ok ;>


Expert Comment

ID: 1520854
The SetSysModalWindow function is not implemented in the Win32 API. The new input model does not allow for System Modal windows.
LVL 10

Expert Comment

ID: 1520855

You can ask this question another five times if you want. You've already asked it 3 times.

But you're going to get the same answer every time. Why waste your points?

Author Comment

ID: 1520856
slgal: I cant get you...explain more...full code?????
Caraf_g : Thanks for your advise...

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question