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



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

> ----------
> From: Diego Rey
> Sent: Wednesday, August 27, 2003 11:11 AM
> To: Apple Carbon Development
> Subject: More help for a newbie
>
> Ok guys... I read through the old Apple programming references and the
> carbon ones (more specifically speaking: the control manager references).
> I
> couldn't find out what control I am supposed to use to display text in a
> window. Should I use Quick Draw for that? A custom control?
>
> My requirements for the control are...
>
> 1 - Ability to display multi-line text in a window
>
> 2 - Read only text... no writing allowed (I suppose I can achieve this
> with
> an event handler or changing the properties of a control)
>
> 3 - Double click on a line = edit line (kind of a listbox but I want the
> text to look like in a simple text window if you get what I mean... once
> again I suppose I can achieve this with an event handler)
>
> That's all I'd need... thanks in advance!
> Diego Rey
>
> PS: I just checked the Control Manager functions and noticed a control
> called scrolling text box... is that it?
> _______________________________________________
> 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.
_______________________________________________
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.



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.