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



The information in this article 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.

Modification Type:MajorLast Reviewed:10/22/2002
Keywords:kbenv kberrmsg kbprb KB314042