Jump to content

Recommended Posts

Posted

My primary project at the moment is a touchscreen epos system.

 

I am trying to create a On Screen / Virtual keyboard, and I would like to do so in WPF, to keep in with the look of the rest of the product.

 

I have craeted my layout etc, and I have managed to get my onscreen Keyboard working nicely with notepad.... almost.

 

 

The problem I have is that when I click a button on my keyboard, the keyboard then* becomes the active window.

 

I then have to call SetActiveWindow(8975651603260375040)

 

in order to set the notepad window(for example) as active again, before using Keybd_Event in user32.dll to send the keystroke through.

 

 

Is there a way I can stop my keyboard from getting focus / becoming active, in the same way that the MS OSK works?

 

 

I would use the MS one if it did not look so hideous, and the fact that it is so small makes it useless to me!

 

 

More...

 

View All Our Microsoft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...