|
Prev: Calling Late Binding COM functions… Part 3
Next: How do I use msiexec.exe with Visual C++ SP1 Redistributable?
From: Uranium-235 on 13 May 2008 15:18 Hello: I have a standard Windows application that has a window derived from CWnd. I've tried to handle the ON_WM_LBUTTONDBLCLK message, but it never gets called when a double click in the window occurs. If I handle the left button down event, that gets called, but double clicking isn't handled. Cany anyone tell me what is wrong? Thank you, Dan
From: AliR (VC++ MVP) on 13 May 2008 15:56 Was the window class created with the CS_DBLCLKS style? AliR. "Uranium-235" <Uranium235(a)discussions.microsoft.com> wrote in message news:8E74B705-822C-4108-B497-0B25B1F5D673(a)microsoft.com... > Hello: > > I have a standard Windows application that has a window derived from > CWnd. I've tried to handle the ON_WM_LBUTTONDBLCLK message, but it never > gets called when a double click in the window occurs. If I handle the > left > button down event, that gets called, but double clicking isn't handled. > Cany > anyone tell me what is wrong? > > Thank you, > Dan
From: Uranium-235 on 13 May 2008 16:29
Thank you very much; that is what I needed. "AliR (VC++ MVP)" wrote: > Was the window class created with the CS_DBLCLKS style? > > AliR. > > > "Uranium-235" <Uranium235(a)discussions.microsoft.com> wrote in message > news:8E74B705-822C-4108-B497-0B25B1F5D673(a)microsoft.com... > > Hello: > > > > I have a standard Windows application that has a window derived from > > CWnd. I've tried to handle the ON_WM_LBUTTONDBLCLK message, but it never > > gets called when a double click in the window occurs. If I handle the > > left > > button down event, that gets called, but double clicking isn't handled. > > Cany > > anyone tell me what is wrong? > > > > Thank you, > > Dan > > > |