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: Overlay Window Memory




On Oct 25, 2007, at 1:23 PM, email@hidden wrote:

Hi,

WindowFun creates an overlay wndow for each window. To use less memory, I would like to have one overlay window for all the windows. Would grouping the overlay window with the front window and keeping track of it myself by calling ReleaseWindowGroup() as a window deactivates and calling SetWindowGroup() as it activates work?


It should work. You don't need to use ReleaseWindowGroup, just SetWindowGroup to move the overlay window into the group of the active window; leave the group of the window that's deactivating alone and you'll simplify your code. This assumes, of course, that you only need the visual effect of the overlay window on the active window.

-eric

_______________________________________________
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: 
 >Overlay Window Memory (From: 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.