Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATSUI highlighting



Hi.

First of all I'm very new to ATSUI... I'm playing with ATSUI in NSView's drawRect method (well, actually Cocoa, but ATSUI is Carbon, isn't it?). The view is not flipped and I draw a word at (10,10). I now want to highlight this word. So I call ATSUHighlightText(myLayout, Long2Fix(10), Lont2Fix(10), fromBeginning, toEnd). Well, this does not work. Instead of the word the portion of my whole display at (10,10) is highlighted, i.e. a rect at left-bottom side of my whole screen. What's wrong?

Thanks in advance!
--
Tae. =)
_______________________________________________
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.