Having trouble implementing something that when you click and drag on a window a dashed line will appear, allowing you to select whats within that region. A similar tool in Eclipse's visual editor palette is called a Marquee (but I gather this word can also be used for a Ticker).
I've had some success drawing a rectangle to the screen capturing mouse events but I can't get it to display correctly (specifically, clearing the screen).
Ive got something that looks like this. );
Any tips or suggestions on the approach. It would be nice to create a re-usable component. I'm not too worried about the actual section of things within that region (I can probably cope with that) so its more the graphical part.
Any help appreciated.
Joined: Dec 20, 2006
Sorry, should have stated this is using SWT...
subject: How to implement a Selection area / marquee?