Jump to content

How to get mouse and keyboard events during edit mode


wish

Recommended Posts

Hi all,

I would like to know if there is any method by which i can register all the events which occur on another VI which is in edit mode?

When the other VI is running i was able to capture all the events using the event structure. But I would like to do the same when this VI is in edit mode. I want to capture all events like menu selections , dropping of controls and functions on the front panel and block diagram, changing the value of the controls etc. Thanks in advance

Regards,

Wish

Link to comment

QUOTE(wish @ Oct 11 2007, 05:55 AM)

I would like to know if there is any method by which i can register all the events which occur on another VI which is in edit mode?

When the other VI is running i was able to capture all the events using the event structure. But I would like to do the same when this VI is in edit mode. I want to capture all events like menu selections , dropping of controls and functions on the front panel and block diagram, changing the value of the controls etc. Thanks in advance

No such luck. You can only register for events on running VIs.

You could monitor at the OS level for generic keystrokes and mouse actions and then back calculate which control had focus/which control the mouse was over. Takes a lot of work, but it is doable.

Link to comment

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...

Important Information

By using this site, you agree to our Terms of Use.