Forums


Comfort Software :: Forums :: Development
<< Previous thread | Next thread >>   


Author Post
bhaumikgadani
Sat Mar 08 2008, 03:55am
Registered Member #76
Joined: Sat Mar 08 2008, 03:12am
Posts: 1
hi i have download the keyboard.
and i want to use it in kiosk application in vb6(winxp). i have made the programme for that
by reading online docs.. i m not expert in vb6,
i want to show the keyboard when form active,,,

for that i have add module and paste following code in that

Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Const WM_CSKEYBOARD = 1280

and i have add form and paste following code in it in form load event

Dim hWnd As Long

hWnd = FindWindow(“TFirstForm”, “CKeyboardFirstForm”)
PostMessage hWnd, WM_CSKEYBOARD, 1, 0

its show the error of PostMessage - sub or function not defined....

i searched a lot online but didnt get so please can anyone tell the solution for the same.
and after solving it , is it show the keyboard? if not show than please can u tell me where we
have to put code so it will run perfectly...

thanks in advance.

Regards
bhaumik
Back to top
Moderators: Comfort

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System