Results 1 to 7 of 7

Thread: OSK help

  1. #1
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27

    OSK help

    I have a new problem, I have figured out how to get an app to load into a picture box in VB but now I need an onscreen keyboard. I have tried to use both the OSK.exe from MS and using SENDKEYS in vb, but it only works when the app is out side of the picture box... I cannot give the app focus as it does not show up as a running app when in the Picturebox ??? Any ideas what I am doing wrong? Or at least an idea of what direction to take to solve this problem...?

    Thanks..

  2. #2
    Maximum Bitrate DJiK's Avatar
    Join Date
    Apr 2005
    Location
    Los Angeles (Winnetka), CA
    Posts
    864
    Does the app HAVE to run in the picturebox, or can it run on its own in a separate window?
    If you can make it run in a window, just use relative coordinates and position it near the OSK (or whereever you want it). Then, at the press of a button, give the app focus, let it do its thing, and come back to the OSK.
    For Sale: Carputer (CarPC) & RCA Y-Adapter
    Newsflash: Take a look at my unsold stuff above, thanks!
    Up Next: Make an OBD to Serial cable & Redo the "MMI buttons"

  3. #3
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27
    Basicly I have embeded Streets and trips in a vb screen using a picturebox so that no matter the resolution it will be the correct size for the desined skin.. And that part works perfectly.. But with out a mouse or keyboard i need to use an OSK for entering info in to S&T . But once it loads it looses focus and thus does nothing...

  4. #4
    Maximum Bitrate DJiK's Avatar
    Join Date
    Apr 2005
    Location
    Los Angeles (Winnetka), CA
    Posts
    864
    In that case, I would use the SendMessage command to send the text directly to the input box of S&T.
    You need to have some sort of a Windows Spy tool to figure out the hwnd handles of the input box (and corresponding dialogues) and all that good stuff.
    Take a look at Winspector Spy.
    For Sale: Carputer (CarPC) & RCA Y-Adapter
    Newsflash: Take a look at my unsold stuff above, thanks!
    Up Next: Make an OBD to Serial cable & Redo the "MMI buttons"

  5. #5
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27
    The SENDMESSAGE works fine as long as S&T is on the taskbar, but once its inside the picturebox the taskbar icon disappears and I cannot access it for some reason??

  6. #6
    Maximum Bitrate DJiK's Avatar
    Join Date
    Apr 2005
    Location
    Los Angeles (Winnetka), CA
    Posts
    864
    Have you checked the Incoming/Outgoing message to and fro S&T?
    You can still follow it via Winspector.
    Look for the S&T class name in the spy program.
    For Sale: Carputer (CarPC) & RCA Y-Adapter
    Newsflash: Take a look at my unsold stuff above, thanks!
    Up Next: Make an OBD to Serial cable & Redo the "MMI buttons"

  7. #7
    Newbie karrhacker's Avatar
    Join Date
    Jul 2006
    Location
    Ontario Canada
    Posts
    27
    Okay I seem to be having allot of problems with this for some reason..??? Maybe I’m not getting it or something? Do you know of any examples that I can look at?

Similar Threads

  1. OSK... need help/ideas..
    By guino in forum Road Runner
    Replies: 27
    Last Post: 06-25-2006, 08:49 PM
  2. Request: 2nd OSK
    By kuo in forum Road Runner
    Replies: 31
    Last Post: 03-29-2006, 03:39 PM
  3. OSK bug ????
    By tolisn in forum RR Bug Tracker
    Replies: 3
    Last Post: 03-31-2005, 12:25 PM
  4. Dual OSK Possible?
    By grnikolis in forum Map Monkey
    Replies: 0
    Last Post: 03-27-2005, 11:24 AM
  5. OSK clobbers comm port?
    By wi77iam in forum Software & Software Development
    Replies: 7
    Last Post: 03-25-2004, 12:12 PM

Bookmarks

Posting Permissions

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