Jump to content
Sign in to follow this  
/dev/null

Selection Rectangle while moving mouse?

Recommended Posts

Hi,

how can I draw a "selection rectangle" while I'm moving the mouse and holding

the left button pressed. Sorry for this dump description. I just want to see the

area I'm going to select with the mouse, like in any graphics tool.

Thanks

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Cyberslug wrote a prototype func for this:

<{POST_SNAPBACK}>

Thanks! GUICtrlCreateLabel and GuiCtrlSetPos was exactly what I was looking for.

However, the selection rectangle is different from, let's say graphic tools. It seem to flicker a bit, at least in my code.

Also it would be nice to have a dotted line instead of a solid line for the rectangle. Would this be possible?

Cheers

Kurt


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...