[interfacekit] Re: Question!

"Adi Oanca" <e2joseph@xxxxxxxxxx> wrote:
> from the BeBook:
> ---------------------------------
>  B=5FWINDOW=5FMOVE=5FBY
> 
> 
> Purpose: Deliverable.
> Source: Your application.
> Target: The BWindow to be moved. You can send this message to a 
> window to
> resize it by the specified deltas.
> 
>   Field     Type code               Description
> "data" | B=5FPOINT=5FTYPE | The amount by
> which to move the window's X and Y coordinates.
> ---------------------------- -----
> 
> I'm OK with that!
> 
> But, with this, I do not agree!
> ---------------------------------
> B=5FWINDOW=5FMOVE=5FTO
> 
> 
> Purpose: Deliverable.
> Source: Your application.
> Target: The BWindow to be moved. You can send this message to a 
> window to
> resize it to the specified size.
> 
>  Field      Type code            Description
> "data" | B=5FPOINT=5FTYPE | The width and height (in X and Y) to resize 
> the
> window to.
> ------------------------------- ---
> 
>  to resize it to a specified size=3F=3F=3F But the message name says to 
> move it
> to a specified location!!!
> 
> Does anyone think this is correct=3F=3F=3F

No, I don't think so; I'd say it's both wrong - there shouldn't be any 
"resize" in the descriptions above. In any case, if you are doubting 
something that's in the BeBook, writing a test case is a good idea; 
sometimes, the book is wrong, sometimes, the implementation is just 
stupid (and deserves to be fixed).

Adios...
   Axel.


Other related posts: