Re: Right click mouse window activation disabling
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Sun, 20 Apr 2008 13:57:21 -0400
I'm not quite sure what you are asking. But if your problem is that when you click in any
dialog the entire app and dialogs come to the front, THAT IS WINDOWS WORKING AS IT IS
SUPPOSED TO WORK. Defeating this is not possible. If all you are concerned about is
intercepting the right-click, however, you have neglected to say anything useful in your
description. You talk about RButtonDown, but you do not say what class you implement this
in, or the relationship of that class to any other window class in your app. Likewise for
PreTranslateMessage. Without useful information, no analysis is possible.
joe
On Fri, 18 Apr 2008 01:46:36 -0700 (PDT), Kishore <kishor.s22@xxxxxxxxx> wrote:
I have a dialog based application which has two dialogs where secodJoseph M. Newcomer [MVP]
dialo is a modeless dialog.
When I Right click the mouse button on any one of the dialog that
comes to foreground.
I need to block this behaviour on Right click (i.e only on Left click
dialog should get activated).
How can i achieve this?
I tried overriding Rbutton down/up and commenting the base class call
but no effect.
also i tried pretranslating and blocking Rbutoon messages but without
any success.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Right click mouse window activation disabling
- From: Kishore
- Right click mouse window activation disabling
- Prev by Date: Re: Open a child process window within a (child) frame
- Next by Date: Re: How to validate user input on a CEdit?
- Previous by thread: Re: Right click mouse window activation disabling
- Next by thread: RE: Open a child process window within a (child) frame
- Index(es):