Mailing Lists: Apple Mailing Lists

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

Limits on window resize limits



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. ;-)

Thanks,

Larry

*In the interesting of heading off a bunch of "Why would you want to do
that?" inquiries, strictly speaking, I don't. But there are there are places
where I have code that adjusts the current resize limits (both min and max)
of a window by a fixed amount and if the current maximum is already 32767
(the default), then bumping it up apparently creates an overflow condition
on a short somewhere in the Window Manager, and the window's grow box
subsequently stops working.

 _______________________________________________
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



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.