Jump to content

Best Way to capture Winbounds change?


bbean

Recommended Posts

I'm, guessing you have to place the check in the timeout case, and poll the window bounds.

VI:Frontpanel.WinBounds

If you want to know as soon as the mouse is clicked on the title bar, you have to use the InputDevices.llb\ Mouse VIs.

These will get you the current mouse postion and button states and then compare them to you VI window positon.

//Mikael

Link to comment

QUOTE(bbean @ Aug 20 2007, 11:22 PM)

I want to capture when a user clicks the title bar and drags a front panel window to a new location. I only found a "Panel Resize" Event which doesn't fire when the user "moves" the front panel.

Am I missing an easy way to do this?

Have you checked the redraw event?

Ton

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.