Jump to content
  • Advertisement
Sign in to follow this  
Aprosenf

Windows are not receiving WM_NCACTIVATE message

This topic is 5024 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a main window, and it has a bunch of child windows. Those child windows are being created with the WS_OVERLAPPEDWINDOW | WS_CHILD | WS_CLIPSIBLINGS | WS_VISIBLE styles. However, when the windows are created, they are not activated, but I can still move them around and resize them. Additionally, if one child window is behind another and I move or resize the one in back, I see it get moved or resized, but it isn't moved in front of the other window until after the move or resize is finished. I'm pretty sure this is all a result of the child windows never getting an WM_NCACTIVATE message. What would cause this, and how do I fix it?

Share this post


Link to post
Share on other sites
Advertisement
No, that doesn't help. If I create the child without the WS_CHILD flag, then it has the proper behavior, except when a child window is active, the main window becomes inactive, which is not something I want.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!