Jump to content

Recommended Posts

Posted

Can someone tell if there is a workaround to capture or treat the actions from mouse’s scroll wheel performed in the middle of a GRREAD governed input? If scroll wheel is used to perform a PAN or ZOOM action there will remain a parasite image of the custom cursor (from GRDRAW or GRVECS usage) that it, the logical erase (overdraw) is done in a wrong place. Thank you.

 

Regards,

Posted

I've written a few GRREAD based programs and zooming/panning has been a constant battle with me. Some programs, I've countered it by drawing all my vectors based on the zoom ratio and screen location; that way, whatever is being displayed is always being displayed on the screen, no matter what. The other thing I've done is simply expected the user to not use the scroll wheel.

 

Unfortunately, there's no way I can think of to turn it "off" with LISP. There may be an option somewhere, and if there is, I could only imagine there -must- be a way to do it with some sort of code.. but I honestly can't think of it.

Posted

Thanks for suggestions!

Never thought about using current view size variation to retrieve information about dynamic zoom and/or pan – will have to take care of this.

 

Regards,

Posted
Thanks for suggestions!

Never thought about using current view size variation to retrieve information about dynamic zoom and/or pan – will have to take care of this.

 

Regards,

 

:) You're welcome.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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

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