|
-
March 15th, 2017, 02:50 AM
#1
Handle WM_LBUTTONDBLCLK on CMainFrame
Is there a way to handle WM_LBUTTONDBLCLK on MDI client area ? I have tried something like this:
Code:
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|