From: Uranium-235 on
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
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
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
>
>
>