procedure setmyime(imename:string);
var i:integer;
; ; handletoset:hkl;
begin
; ;if not syslocale.fareast then exit;
; ;if imename<>'' then
; ;begin
; ; ;if (ansicomparetext(imename,screen.defaultime)<>0)and
; ; ; ;(screen.imes.count<>0) then
; ;begin
; ; handletoset:=screen.defaultkblayout;
; ; i:=screen.imes.indexof(imename);
; ; if i>=0 then
; ; handletoset:=hkl(screen.imes.object);
; ; activatekeyboardlayout(handletoset,klf_activate);
; ;end;
end;
end;
resetmyime:
; ; if not syslocale.fareast then exit
; ;if ansicomparetext(imename,screen.defaultime)<>0 then
; ;activatekeyboardlayout(screen.defaultkblayout,klf_activate);