CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 10 of 10

Thread: Handle WM_LBUTTONDBLCLK on CMainFrame

Threaded View

  1. #1
    Join Date
    Jan 2009

    Handle WM_LBUTTONDBLCLK on CMainFrame

    Is there a way to handle WM_LBUTTONDBLCLK on MDI client area ? I have tried something like this:
    void CMainFrame::OnLButtonDblClk(UINT nFlags, CPoint point)
    	// TODO: Add your message handler code here and/or call default
    	// Do some things ... 
    	CMDIFrameWndEx::OnLButtonDblClk(nFlags, point);
    But the execution doesn't pass by here ... And more important thing: CMainFrame is derived from CMDIFrameWndEx, not from CMDIFrameWnd ...

    I have seek something similar on internet, but I have found the way to draw something in MDI client area, not handle this event ...

    Thank you.
    Last edited by mesajflaviu; April 24th, 2017 at 04:46 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)