Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limits on window resize limits



On 10/3/05 12:32 AM, David Duncan didst favor us with:

> On Oct 3, 2005, at 12:08 AM, Laurence Harris wrote:
> 
>> Is it documented anywhere that setting window resize limits to values greater
>> than 32767* will prevent the window from being resized?  This is in 10.3.9.
>> Has this limitation been removed in Tiger? It's easy to  accommodate, as I
>> wrap SetWindowResizeLimits in a member function in my window  class, but it
>> just seems like this should be documented somewhere so others  don't waste
>> time scratching their heads over this like I did. ;-)
> 
> Yes, I filed a bug on this against Panther and iirc it was fixed for
> Tiger.

Good for you. :-)

> The crux of the problem was an overflow condition, such that
> if Origin+LowerRight > 32767, the window didn't resize. It should be
> in the Carbon-Dev archives somewhere.

Well, I don't consider the Carbon-Dev archives to be documentation. ;-)
This issue should be mentioned in the headers and the online
documentation/PDF file. I'm glad it's fixed in Tiger, but it's going to be
quite some time before it's reasonable to assume that anyone who might use
this function will be requiring Tiger. I sent some feedback for the online
docs.

Larry

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Limits on window resize limits (From: David Duncan <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.