The information in this article applies to:
SUMMARYMFC-based ActiveX controls capture mouse input by calling SetCapture in response to a mouse-button message. This can cause unexpected problems, but the behavior is by design. MORE INFORMATIONIf you need to perform an action in response to a mouse button message when implementing an ActiveX control, and that action involves the use of the mouse (for example, displaying a message box or modal dialog box), you need to perform the action after the call to the base class implementation of the handler. Performing such actions prior to calling the base class may result in mouse capture problems. REFERENCESSample Code
Additional query words:
Keywords : kbole kbMFC kbVC400 kbVC410 kbVC420 kbVC500 kbVC600 |
Last Reviewed: July 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |