Jump to content

Shortcut Menu 'Closed' Event


LeeH

Recommended Posts

Hello All,

I'm attempting to create a right-click shortcut menu for a 3D picture control within an x-control that's showing data in a loop. As part of plotting the data, I have included an option to 'smooth' the input data so the picture control doesn't jump around and, ideally I'd like this to be toggled via a right-click menu at run-time.

The problem is that when you activate a right-click menu on a picture control that's constantly being updated it flickers alot and looks rubbish, therefore I want to suspend the drawing of the 3D picture when the menu is activated. However to do this I need to know when the right-click menu is de-activated so I can re-enable the drawing.

All's fine if the user actually selects something from the menu as the 'selection' event can be handled, but if the user just clicks off the menu to get rid of it there doesn't seem to be any event in labview that will detect this, so the drawing will remain suspended.

Is there any way to detect the 'close menu' event in labview (this is easily achievable in vb etc.) and/or is there a way to get access to the plethora of windows events that labview doesn't handle as the subset is extremely limiting!!!

Any advice would be much appreciated

thanks

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
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.