CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: Keybd_event

  1. #1
    Join Date
    May 2002
    Posts
    6

    Keybd_event

    Hello .

    I got a beautiful source on codeporject.com by Randy more.
    If you want to see then goto codeproject.com and type in search --> OnScreen Keyboard

    Thank Randy more!!

    That is OnScreen Keyboard. It is used keybd_event and works very well except dialog box.

    When I tested this program on dialogbox such as openfile Dlg ...
    I think It can't focus on focused component. In other words input edit box is accoding to tab order third, but this program send character to first tab orderd ComboBox.

    So I made a dialogbox that just has 1 edit box. And I fixed tab order first. In that case this program send 1 character but after input again first input character was erased.

    I think this problem is normal because of dialog box.
    probably I couldn't input correct procedures. and I don't know how can I get focus.

    I already used GetActiveWindow.
    And I alread tested SendInput.

    It works find except Dialog box.

    Could you please Help me!!
    Last edited by kyewooklee; May 23rd, 2002 at 12:50 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured