Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


easy | 7 comments | Create New Account
Click here to return to the 'easy' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
easy
Authored by: bhines on May 04, '02 08:54:35AM

Yes, this is very easy to implement.

In Cocoa, it's free, of course.

In Carbon:

1. You get a kEventWindowConstrain carbon event whenever the dock moves, or the screen res changes.

2. Always use GetAvailableWindowPositioningBounds() instead of just clipping to the screen like you did on OS9. GetAvailableWindowPositioningBounds takes the dock and menu bar in to account.



[ Reply to This | # ]