spurious BN_CLICKED messages
Posted on 1998-06-10
My application has a window which has several controls in it. When I click on one of the buttons, I get two WM_COMMAND messages of type BN_CLICKED in response, one for press and one for release. I return from the WindowProc call with a 0 to signify that the message was handled. If I click on any of the other controls, I get the same message for the first control before I get one for the second control. Are there any reasons this type of message could be triggered by anything other than a click on the right button?