Prevent focus from going to a window on creation.

Started by
1 comment, last by CodaKiller 14 years, 5 months ago
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?
Remember Codeka is my alternate account, just remember that!
Advertisement
Sounds like you are looking for the SW_SHOWNOACTIVATE flag in your call to ShowWindow().
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
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.
Remember Codeka is my alternate account, just remember that!

This topic is closed to new replies.

Advertisement