[haiku-appserver] Re: progress and status

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 18 May 2005 17:04:44 +0200 CEST

Adi Oanca <adioanca@xxxxxxxxxxxxxx> wrote:
> Axel D=F6rfler wrote:
> >>    Why do you find this GetMouse(..., true) so useful=3D3F I simply 
> > > hate 
> >>this method!
> >>I really think we should use the standard, *nicer* way: Mouse*();
> > Using GetMouse() is the old standard that we have to support. No 
> > matter 
> > if we like it or not; IIRC no one said it's oh so useful - we just 
> > have 
> > to have it working correctly as advertised.
>       OK, we should support it. And maybe this should be deprecated in 
> R2,
> BUT, if it's old, WHY are we using it in our controls=3F

Simple: the window flag B=5FASYNCHRONOUS=5FCONTROLS triggers the new method 
with MouseUp() and MouseMoved() hooks. If the window of your 
application hasn't defined those, the standard controls must still work 
correctly in this window.

Bye,
   Axel.


Other related posts: