Re: Right click mouse window activation disabling
- From: Seetharam <smisro@xxxxxxxxx>
- Date: Fri, 18 Apr 2008 13:32:01 -0700 (PDT)
Try this:
int CMyDialog::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT
message)
{
if(message == WM_RBUTTONDOWN)
return MA_NOACTIVATEANDEAT; // Does not activate the window, but
discards the mouse message.
return CFrameWnd::OnMouseActivate(pDesktopWnd, nHitTest, message);
}
-SM
.
- References:
- Right click mouse window activation disabling
- From: Kishore
- RE: Right click mouse window activation disabling
- From: rodream
- Right click mouse window activation disabling
- Prev by Date: Re: WS Server Messages
- Next by Date: Winocc.cpp assertion failure
- Previous by thread: RE: Right click mouse window activation disabling
- Next by thread: Re: Right click mouse window activation disabling
- Index(es):