Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 666
  • Last Modified:

Disable soft keyboard on Pocket PC

Hi All,

I am writing a piece of software using VB .net for Pocket PC and I want to disable the keyboard programatically. Does anyone know if this can be done and if so how?

Thanks in advance.
0
gcheg_bca
Asked:
gcheg_bca
  • 2
2 Solutions
 
sreenathkCommented:
Hi,

 check this site.. has lots of info..& code also..
http://www.vbcity.com/forums/topic.asp?tid=25157

Following is other way.. just try out

Disable mouse and keyboard
Use BlockInput procedure to lock keyboard and mouse. This procedure with True parameter disables manipulators and with False parameter enables them.

procedure BlockInput(ABlockInput : boolean); stdcall; external 'USER32.DLL';
...
procedure TForm1.Button1Click(Sender: TObject);
begin
  BlockInput(True);
  Sleep(5000);
  BlockInput(False);
end;


Sreenath
0
 
Mikal613Commented:
I wouldnt reccomend anyone using sreenathk's solution. It will take away from the already limited processor
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now