[interfacekit] Re: :) B_MOUSE_MOVED
- From: "Adi Oanca" <e2joseph@xxxxxxxxxx>
- To: <interfacekit@xxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2003 01:44:22 +0300
> Think about it - what purpose might there be if a user were going to move
the
> mouse with the shift key down? While I'm a bit limited in my thinking, I
> can't really think of a reason to, say, attach some sort of functionality
to
> a user moving the mouse while holding down the shift key, for example -
even
> while dragging. Generally, modifier keys are used for for clicking, not
> dragging and otherwise moving the mouse.
I was thinking that the mouse cursor could change its image while
dragging if some modifier keys were to be pressed. Other applications that
make extensive use of modifier keys are 3D/2D programs.
I was preoccupied that if a B_MOUSE_MOVED message stood to much in the
BWindow's message queue, at the time modifiers() was called, the modifiers
keys changed state, thus, not reflecting reality! BUT...
> Likewise, it is currently possible to track the modifiers without calling
> modifiers() or getting it from the message - cache it as a class member
and
> handle B_MODIFIERS_CHANGED in MessageReceived() to modify the cached copy.
> This could be done for any class which really needs to track the modifier
> states.
I COMPLETELY forgot about B_MODIFIERS_CHANGED !!!
That's it! I'm now convinced that we should NOT add the modifiers !
Thanks DW!
Adi.
- References:
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Marcus Overhagen
- [interfacekit] Re: Re: :) B_MOUSE_MOVED
- From: DarkWyrm
Other related posts:
- » [interfacekit] :-) B_MOUSE_MOVED
- » [interfacekit] :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- » [interfacekit] Re: :) B_MOUSE_MOVED
- [interfacekit] Re: :) B_MOUSE_MOVED
- From: Marcus Overhagen
- [interfacekit] Re: Re: :) B_MOUSE_MOVED
- From: DarkWyrm