Tiovital
Jul 19th, 2000, 09:19 AM
Hi,
I've Try to Used SendKeys To Change The KeyBoardLanguage (In the keyboard by press ALT+SHIFT). I try to achive that by SendKeys and it was a faild all the time. So I've Found that there is API called - systemParametersInfo - Tha will do the same.
2 API r:
retval = SystemParametersInfo(SPI_GETDEFAULTINPUTLANG, ByVal 0, 0, 0)
retval = SystemParametersInfo(SPI_SETDEFAULTINPUTLANG, ByVal 0, 0, SPIF_SENDWININICHANGE)
What am I doing wrong?? Can anyone help me out here???
Best Regards
I've Try to Used SendKeys To Change The KeyBoardLanguage (In the keyboard by press ALT+SHIFT). I try to achive that by SendKeys and it was a faild all the time. So I've Found that there is API called - systemParametersInfo - Tha will do the same.
2 API r:
retval = SystemParametersInfo(SPI_GETDEFAULTINPUTLANG, ByVal 0, 0, 0)
retval = SystemParametersInfo(SPI_SETDEFAULTINPUTLANG, ByVal 0, 0, SPIF_SENDWININICHANGE)
What am I doing wrong?? Can anyone help me out here???
Best Regards