Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Prevent Form Activation/deactivation C#

Recommended Posts

Is there a way to prevent the activation/deactivation of a form? I have tried intercepting the WM_ACTIVATE message but I was not able to successfully cancel it. The scenario that this is needed for is a parent form creates multiple child forms each hosting a axWebbrowser. I would like to have it so that the only way that a form can be activated is if a user clicks that form. In the case of the browser when it refreshes I do not want it to activate the form it's on unless it's already active. If I need to clarify anything or provide more information please let me know. Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.