| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I've got a custom control whose carbon event handler (currently, just for kEventControlDraw) gets invoked when the window first appears, when it activates and deactivates, and when that part of the window is invalidated.
But it's not invoked when the control is on a tab panel, and we switch to a different tab. I can switch back and forth all day, and never see a kEventControlDraw. As a result, my control (which is initially visible) disappears when I switch tabs, controls which should be on the other pane don't appear, and my first control never reappears even when I switch back.
So I guess my questions are twofold:
1. How do I embed my custom control in the proper pane of the tab panel, so the system will know when to draw it?
2. If not obvious from the answer to 1, then what else do I need to do to get a kEventControlDraw when the user switches tabs so I can make my control appear?
| References: | |
| >TabPanels and kEventControlDraw (From: "Joseph J. Strout" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.