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: Tab control in an IB window



At 22:59 Uhr -0400 27.08.2003, Laurence Harris wrote:
The first time I need to load a tab, I hide any current pane, create the
appropriate window, embed the user pane with HIViewAddSubview(), and dispose
of the window. Everything works as expected except that nothing inside the
tab panes responds to clicks. Keystrokes go to the Edit Unicode Text control
fine. The tab control and the three buttons work fine. The standard handler
is installed. What am I missing? Thanks!

IB automatically creates a User Pane for your items. You just have to switch in the appropriate tab, show that tab's user pane after hiding the previous one, and that should be it. Make sure your items are embedded in the appropriate tab in IB. If you just created another user pane on top of the tab, it'll very likely be covered by the one IB creates for you, as it isn't correctly embedded.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.
References: 
 >Tab control in an IB window (From: Laurence Harris <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.