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 Service



I see. My header which came with 10.3 doesn't say "kEventParamTextInputReplyPoint"
is required. And to be strange, "kEventParameterTextInputComponentInstance"
parameter is described as a Required paramter. When I want to the event, do I
have to obtain the component instance?


I hope such documentation of APIs relative with current system are explained
more detail from the beginning. This is, if the API is available for 10.2 then
its explanation must be as much detail as posible. Since the API is also
implemented for 10.2, it's strange that we can quite understand after 10.2.
If you don't use up-to-date header/System, it's rather hard to get info clearly.
I do also hope Apple writes the documentation with concerning people who is
not good at English. The explanations of headers that I have are harder than
making apps to me.


Anyways, thank you very much for your kind info. My mac can't still boot up from
10.4, but after it can, I will walk through to read the latest headers with
dictionary. :)


Norio Ota

On 2005年 3月 31日 , at 04:08 PM, Alexey Proskuryakov wrote:

On 30.03.2005 20:46, "Norio Ota" <email@hidden> wrote:

I went to see "kEventClassTextInput/kEventTextInputOffsetToPos" in the
header. What I still don't get is at least what parameters do I have to
"return" using SetEventParameter function to position the palette. From
the name of the parameter, if kEventParamTextInputSendTextOffset is the
one I need at minimum, how do I set the QD coordinates in
typeLongInteger?

kEventParamTextInputSendTextOffset is an input parameter, so you needn't
change it:


 *    --> kEventParamTextInputSendTextOffset (in, typeLongInteger)

The required output parameter, kEventParamTextInputReplyPoint, is a
QDPoint. And of course, you should set the optional output parameters, too,
if it's possible with your text engine.


Which headers are you using? The header documentation gets better with
time (although this specific question was answered even in the Universal
Headers). Still, you may want to read the comments in 10.3 or 10.4 SDK,
whichever you have access to.


- WBR, Alexey Proskuryakov



_______________________________________________ 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 Service (From: Alexey Proskuryakov <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.