On Sat, 29 Jan 2005 14:38:31, Mike Lazear <email@hidden> wrote:
> On Jan 28, 2005, at 7:42 PM, Laurence Harris wrote:
>
>> On 1/28/05 9:01 PM, Mike Lazear didst favor us with:
>>
>>> 3. I'm also a bit confused about signatures of controls within a
>>> window. I thought I saw one of the documents (or header files) say
>>> that the signature should be the apps signature though I've never seen
>>> that used in any sample apps.
>>
>> I don't know why they say that. I don't know anyone who does it.
>
> Didn't make sense to me either. I was fairly positive that I read
> this so I just went digging and found it again. In the document
> windowscontrols.pdf on page 56 it says:
>
> "Add an application signature and control ID for each button. The
> application signature is typically your application?s creator code
> (for example, 'surF'). The control ID should uniquely identify the
> control within your application. "
Note, it says "..it typically is...", not "it should be".
> This is in the section on adding controls to a window in IB.
>
> This seems like a major overkill to try and have every control on every
> window be unique throughout the entire app. Much simpler to just make
> controls unique to the window.
They probably want to guard us from situation when an app and some
third party plugins/extension use the same signature. Using the
registered app signature makes this less probable.
Mike
_______________________________________________
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