Hi Guys
I'm affraid that private memory issue is coming to haunt me again!
When my program is activated by the user, it will wait until it receives a
penDownEvent and speak the text at the location where the user tapped the
screen by getting the text from the control containing (event.screenX,
event.screenY).
This works fine for every form I tested the program with except the
Shortcuts screen in the Prefs app. I am now wondering if this screen is not
creating it's list box in code rather than having a resource for it.
Creating controls using code would make them private to the app creating
them and therefore inaccessible by any other program.
Correct me if I am wrong but I cannot think of any reason why the attached
code works everywhere except for that particulat form.
By the way, is it possible to change a form's border style on the fly?
Kind regards
Patrick
begin 666 Code.c
M<W1A=&EC('5N<VEG;F5D(&-H87(@4W!E86M#;VYT<F]L*%-P96%K1&%T82H@
M<$1A=&$I('L-"@E%=F5N=%1Y<&[EMAIL PROTECTED];G0[#0H)8VAA<BH@<%1E>'0@/2!.
M54Q,.PT*"75N<VEG;F5D(&-H87(@<75I=" ](&9A;'-E.PT*"75N<VEG;F5D
M(&-H87(@<W!O:V5N([EMAIL PROTECTED]<V4[#0H)1F]R;51Y<&4J('!&;W)M([EMAIL PROTECTED])M
M1V5T06-T:79E1F]R;[EMAIL PROTECTED]"61O('L-"@D)179T1V5T179E;G0H)F5V96YT
M+"!E=G1786ET1F]R979E<BD[#0H)"6EF("AE=F5N="YE5'EP92 ]/2!K97E$
M;W=N179E;G0I('L-"@D)"5=#:&%R(&)U='1O;B ](&5V96YT+F1A=&$N:V5Y
M1&]W;BYC:'([#0H)"0EI9B H8G5T=&]N(#T]('!$871A+3YB=71T;VXI('%U
M:70@/2!T<G5E.PT*"0E]#0H)"6EF("@A<75I="D@>PT*"0D):[EMAIL PROTECTED]&5V96YT
M+F54>7!E(#T]('!E;D1O=VY%=F5N="D@>PT*"0D)"6EF("A&<FU0;VEN=$EN
M5&ET;&4H<$9O<FTL(&5V96YT+G-C<F5E;[EMAIL PROTECTED](&5V96YT+G-C<F5E;EDI*2![
M#0H)"0D)"7!497AT([EMAIL PROTECTED]&-H87(J*49R;4=E=%1I=&QE*'!&;W)M*3L-"@D)
M"0E](&5L<V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>'10='(H<$9I96QD*3L-"@D)"0D)"0E](&5L<V4@:[EMAIL PROTECTED]'1Y<&4@
M/[EMAIL PROTECTED])M3&ES=$]B:BD@>PT*"0D)"0D)"0E,:7-T5'EP92H@<$QI<W0@/2 H
M3&ES=%1Y<&4J*7!/8FIE8W0[#0H)"0D)"0D)"7!497AT([EMAIL PROTECTED]&-H87(J*4QS
M=$=E=%-E;&5C=&EO;E1E>'0H<$QI<W0L($QS=$=E=$ET96U!=%!O:6YT*'!&
M;W)M+"!P3&ES="[EMAIL PROTECTED];G0N<V-R965N6"[EMAIL PROTECTED];G0N<V-R965N62DI.PT*
M"0D)"0D)"7T-"@D)"0D)"7T-"@D)"0D)?0T*"0D)"7T-"@D)"0EI9B H<%1E
M>'0@/[EMAIL PROTECTED],3"D@<75I=" ]('1R=64[#0H)"0E](&5L<V4@>PT*"0D)"5-Y
M<TAA;F1L945V96YT*"9E=F5N="D[#0H)"0E]#0H)"7T-"@E]('=H:6QE("@H
M979E;G0N951Y<&4@([EMAIL PROTECTED]<$5V96YT*2 F)B H<%1E>'0@/[EMAIL PROTECTED],
M3"D@)B8@(7%U:70I.PT*"6EF("@A<75I="D@>PT*"0EI9B H979E;G0N951Y
M<&4@/[EMAIL PROTECTED]<$5V96YT*2![#0H)"0E%=G1!9&1%=F5N=%1O475E=64H
M)F5V96YT*3L-"@D)?2!E;'-E(&EF("AP5&5X=" A/2!.54Q,*2![#0H)"0ES
M<&]K96X@/2!3<&5A:RAP5&5X="P@<$1A=&$M/G9O;'5M92P@<$1A=&$M/G-P
D965D*3L-"@D)?0T*"7T-"@ER971U<FX@<W!O:V5N.PT*?0T*
`
end
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/