Sign in to follow this  
CodaKiller

Prevent focus from going to a window on creation.

Recommended Posts

CodaKiller    108
I have a window which I used WS_EX_NOACTIVATE on and it works to prevent focus from going to that window on mouse clicks but when the window is created focus still goes to it, how do I fix this?

Share this post


Link to post
Share on other sites
CodaKiller    108
Quote:
Original post by Martee
Sounds like you are looking for the SW_SHOWNOACTIVATE flag in your call to ShowWindow().


Yeah that work! Thanks, I thought it would have been a window style.

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