The information in this article applies to:
SYMPTOMSMessage handlers for the WM_LBUTTONDBLCLK, WM_RBUTTONDBLCLK and WM_MBUTTONDBLCLK messages are not called for a Microsoft Foundation Classes (MFC) application running in the Windows CE emulation environment or on a handheld PC (H/PC). CAUSEFor a window to receive the WM_LBUTTONDBLCLK, WM_RBUTTONDBLCLK, or WM_MBUTTONDBLCLK messages, the class definition of the window must include the CS_DBLCLKS style. By default, MFC does not add the CS_DBLCLKS style to the class definition that it uses for single document interface (SDI) frame windows and views on the Windows CE platform. RESOLUTIONTo work around this problem, register a new class that includes the CS_DBLCLKS style and use this new class when you create the window. You can do this in the PreCreateWindow() method of the window that handles the double-click messages, as in the following code: Sample Code
STATUSThis behavior is by design. Additional query words: kbwince100 kbwince200 kbVC500 kbnokeyword
Keywords : |
Last Reviewed: January 25, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |