API - keyevents

Discussion in 'SolidWorks' started by Rod Morningwood, Dec 19, 2007.

  1. Hey gang,

    Just starting a little app and have hit the wall already...

    In short, using VB6, I'd like to monitor/process key events from within
    SWX.

    But, the app can't monitor key events unless it has focus and you can't
    work SWX unless it has focus.

    I'm thinking I need to build an add-on (dll) to relay the keyevents.
    I can't find anything re keyevents from SWX online or otherwise.

    Can anyone point me in the right direction?

    Thanks for any help.
     
    Rod Morningwood, Dec 19, 2007
    #1
  2. Rod Morningwood

    kenneth Guest

    <snip>

    i know it was not intentional but ...
    thanks, i needed a good laugh about this time of day.
    ;)
     
    kenneth, Dec 19, 2007
    #2

  3. Glad to be of service.
    Am I out to lunch on this one?
     
    Rod Morningwood, Dec 20, 2007
    #3
  4. Rod Morningwood

    cempamj Guest

    yes you will want to write an addin. I would recommend using vb.net
    to do so though rather than vb6, I think it will better supported in
    the future and SWX provides an addin template that you can just
    customize.
     
    cempamj, Dec 20, 2007
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.