Sign in to follow this  

Windows are not receiving WM_NCACTIVATE message

This topic is 4841 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
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