How do I implement a graphic Marquee?

I’m trying to add a copy function to a canvas control. Is there a plugin to
produce a “marching ants” marquee? If not, how is one implemented?

Thanks -Will

What platform? Its fairly straightforward on OSX with a few declares, not sure about Windows or linux.
Mac OSX Example

Thank you, Jason

Your example works perfectly on MacOSX

I also, however need to port this program to Windows.

Anybody know how to do this?

Many thanks -Will

If you use fixed size animated dashed lines, you could capture a few Mac screen pictures and switch them in a canvas within the Windows program with a timer.

For variable rectangles PixMapShape lets you print a shape at any orientation and place so a program that draws every little line is possible, if more complex.