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: Making a control which supports embedding



On 1/31/02 2:27 PM, "Chris Allum" <email@hidden> wrote:

> Hi,
>
> I've got a control definition function which responds to the
> kControlMsgGetFeatures message by returning:
> kControlSupportsEmbedding + kControlHasSpecialBackground
>
> But when I try to embed a control I get the error errControlIsNotEmbedder,
> which is not what I am expecting.
>
> Is the any else I need to do to get embedding to work?

No. That sounds fine. (I presume you are "turning on" embedding by creating
a root control for your window?)

Can you show the code you have for returning the feature bits? Are either of
the bits conditionalized at run time?

Can you show me what your call to EmbedControl looks like?

> - Chris
>
> --------------------------------------------------
> Christopher Allum email@hidden
> Alluminity Solutions
> --------------------------------------------------
> _______________________________________________
> hit-developers mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/hit-developers
> Do not post admin requests to the list. They will be ignored.




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.