Dear Paul,
I tried getting insPtXPos and insPtYPos using FieldPtr on the OS4...
But it's not work on the OS5.

It's possible getting insertion position info on the OS4....Look at my
code...

code)
// comment #ifdef ALLOW_ACCESS_TO_INTERNALS_OF_FIELDS on the field.h's
FieldType typedef

  temp_pos =  fld->insPtYPos;
  fld->insPtYPos++;
 FldDrawField(fld);

Upper code worked on the OS4...
But doesn't work on the OS5...

You said you can get insPtXPos and  insPtYPos in OS5 referenceing field.c
source code....

Currently I don't have field.c source code....
Can you explain it a more specifically?
Or is it possible a fragment of field.c source code?

Haejo Kim.



"Paul Nevai" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Getting insPtXPos and insPtYPos in OS 5+ is possible. Just take the OS 4
> source code of Field.c and carefully rewrite all relevant functions in an
OS
> 5+ legitimate way [cf. SetInsPtFromStringPos() etc.]. It's doable [I did
it]
> although it is not at all trivial.
>
> The related job of setting insPtXPos and insPtYPos from screen coordinates
is
> also doable in OS 5+ although it is less than perfect.
>
> /Paul N. [pedit etc.]
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to