How to activate the Windows Virtual Keyboard from eXpress

This forum is for eXpress++ general support.
Message
Author
User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: How to activate the Windows Virtual Keyboard from eXpres

#11 Post by Auge_Ohr »

rdonnay wrote:I will create a new OSK class and a sample and post it in this forum.
how to modify for German QWERTZ :?:
where you get Bitmap from :?:
greetings by OHR
Jimmy

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: How to activate the Windows Virtual Keyboard from eXpres

#12 Post by Tom »

These are DCXBPPUSHBUTTONS, Jimmy. No bitmaps. Just ownerdrawing.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: How to activate the Windows Virtual Keyboard from eXpres

#13 Post by Auge_Ohr »

hi Tom,

i just saw those *.BMP in \exp20\Samples\Touchscr\ but no German Umlaute ...

are there any Ownerdraw Keyboard Sample :?:
greetings by OHR
Jimmy

User avatar
Tom
Posts: 1165
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: How to activate the Windows Virtual Keyboard from eXpres

#14 Post by Tom »

@Jimmy: Those bitmaps are for the older keyboard samples. TOUCHSCR3.PRG works with ownerdrawing.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: How to activate the Windows Virtual Keyboard from eXpres

#15 Post by digitsoft »

Thanks to everyone for helping me
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: How to activate the Windows Virtual Keyboard from eXpres

#16 Post by digitsoft »

Hello I have not been able to load osk.exe as they have put in the examples, it tells me that it does not include it
Attachments
ERROR.jpg
ERROR.jpg (49.63 KiB) Viewed 12452 times
Nolberto Paulino
Regards

User avatar
digitsoft
Posts: 451
Joined: Thu Jan 28, 2010 1:33 pm
Location: Republica Dominicana
Contact:

Re: How to activate the Windows Virtual Keyboard from eXpres

#17 Post by digitsoft »

Hello Auge_Ohr
This example does not work
Auge_Ohr wrote:try

Code: Select all

   SHELLOPENFILE( "C:\WINDOWS\system32\", "osk.exe" )

FUNCTION SHELLOPENFILE( cPath, cFILE, cPara )

   lSuccess := DllCall( "SHELL32.DLL"  , DLL_STDCALL, ;
               "ShellExecuteA", AppDesktop():GetHWND(), "open", cPath+cFile,;
               cPara, CurDir(), SW_NORMAL )
Nolberto Paulino
Regards

patito
Posts: 121
Joined: Tue Aug 31, 2010 9:01 pm

Re: How to activate the Windows Virtual Keyboard from eXpres

#18 Post by patito »

Hi Nolber

Use trunprocess, it's much safer, it's in ot4xb.dll
Then he tells me if it's effective.

Best Regard

PROCEDURE main( LcP1,LcP2,LcP3,LcP4,LcP5,LcP6)
local oProcess := TRunProcess():New()

oProcess:cAppName := NIL
oProcess:cParams := NIL
oProcess:cCmdLine := "java -jar firmafedian.jar " + alltrim(LcP2) + " " +;
alltrim(LcP3)+ " " + alltrim(LcP4)+ " " + alltrim(LcP5) + " " + alltrim(LcP6)
oProcess:lUseShowWindow := .T.
oProcess:wShowWindow := oProcess:swHide

if oProcess:Start()
while !oProcess:Wait( 250 ) // Wait 0,25 seconds
enddo
oProcess:Release()
endif

return .T.

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: How to activate the Windows Virtual Keyboard from eXpres

#19 Post by rdonnay »

Here is an OSK sample program.
Attachments
OSK.zip
(3.02 KiB) Downloaded 708 times
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1405
Joined: Wed Feb 24, 2010 3:44 pm

Re: How to activate the Windows Virtual Keyboard from eXpres

#20 Post by Auge_Ohr »

digitsoft wrote:This example does not work
are you running under 64 Bit ?
greetings by OHR
Jimmy

Post Reply