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