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: Text Edit and SetControlData returns errDatanotSupported on 10.3.9




On Jun 14, 2007, at 7:51 AM, Charles Gregory wrote:

Hi everyone,

I have just noticed something:
The control I m using isn't a Text edit control but a Text View.
If I create a text edit control and use the code below then it works fine.

I assume you're referring to the HITextView control when you say Text View.


I believe HITextView didn't support the kControlEditTextCFStringTag until Tiger. Prior to Tiger, I think you'd need to get the TXNObject from the control and set the text directly into the TXNObject.

-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: 
 >Re: Text Edit and SetControlData returns errDatanotSupported on 10.3.9 (From: Charles Gregory <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.