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: More help for a newbie



On 8/27/03 1:40 PM, Diego Rey didst favor us with:

> On 27/8/03 14:16, "Pietrzak, Bryan" <email@hidden> wrote:
>
>> What are you platform needs? If you need to support OS 9, the answers will
>> change...
>>
>>
>> 1. If you can go Panther only, look at he new HITextView. If Jaguar or later
>> look at the YASTControl sample code on apple's web site and if you need OS
>> 9, you'll ned to use MLTE directly (MacTextEditor.h)
>>
>> 2. You can either use a Static Text control. Or a Unicode Edit Text control
>> with the "read only" property set or a MLTE object with the read only flag
>> set.
>>
>> 3. You should look at the DataBrowser control which supports that behavior
>>
>> 4. Scrolling Text Box control is kinda usless, it basically lets you scroll
>> static text like in an about box. It does not support editable text or
>> scrollbars.
>>
>> Bryan
>>
>
> Hi again. My platform of choice will be MacOS 9 with carbonlib 1.6
> installed.
>
> Now my problem is that I need one control that supports all the points I
> wrote together. The most important one being the first one, so I'll give a
> look at MacTextEditor.h. I suppose that if that doesn't mean my case I'll
> go for creating a text displayer myself someway.

If I understand what you're doing correctly, the text you wish to display is
not normal "letter to mom" text and does wrap. Is that correct? If so, I'd
definitely use a list. Create an edit text control over a row when you want
to let the user edit the text in a line.
>
> Now I was wondering why it is that the Controls Manager Reference tells me
> that most of the times you create a custom control when you need sliders.
> Can't you make a text displaying control with CDEFs?
>
Okay, I just have to ask why you want to go to that much trouble for
something that runs in Mac OS 9? Personally, if I were just getting started
in Mac software development, I wouldn't spend any time figuring out Mac OS
9-specific techniques to do anything. Learn how to code for Mac OS X
instead. Be aware the CarbonLib was a bridge technology which hasn't been
updated in a long time. Lots of stuff you can do in Mac OS X is not
available to applications running in Mac OS 9 with CarbonLib, especially all
the stuff introduce in Jaguar and later. Just my $0.02.

Larry
_______________________________________________
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: 
 >Re: More help for a newbie (From: Diego Rey <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.