Microsoft KB Archive/314042

= Access Violation Error Message in User32.dll When BM_CLICK Message Is Sent from an OCX Control =

Article ID: 314042

Article Last Modified on 5/14/2007

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q314042



SYMPTOMS
A program with an OCX control that sends a BM_CLICK message may stop responding (hang), and you may receive an access violation error message in User32.dll.



RESOLUTION
To work around the problem, send a WM_LBUTTONDOWN and then send WM_LBUTTONUP instead of a BM_CLICK message.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: c0000005

Keywords: kbenv kberrmsg kbfix kbprb KB314042

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.