Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collate
Message
From
17/08/2004 04:50:34
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Miscellaneous
Thread ID:
00933295
Message ID:
00933756
Views:
20
hello,

i create modi comm moh
i insert your code at myprg as...
PROCEDURE SetKeyboard
 LPARAMETER lcKeyboardcode
 IF VARTYPE(lcKeyboardcode)<>'C'
      RETURN
 ENDIF
 IF EMPTY(lcKeyboardcode)
      RETURN
 ENDIF
 LOCAL pwSzklid
 pwSzklid = SPACE(8)
 DECLARE INTEGER GetKeyboardLayoutName IN user32.DLL STRING @
 geTkeyboardlayoutname(@pwSzklid)
 DECLARE INTEGER ActivateKeyboardLayout IN user32.DLL INTEGER, INTEGER
 IF ATC(lcKeyboardcode, pwSzklid)=0
      acTivatekeyboardlayout(1,0)
 ENDIF
 RETURN
ENDPROC
at init myform i put (SET PROCEDURE TO moh additive)
i get error message(File "moh.prg" does not exist )

thanks.
regards
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform