On 5/11/11 1:46 PM, meliuss wrote:
> My question is:
>       I get an event on every mouse over of an polygon but i like to have
> an event only if mousedown or really object moving.

The usual way in wx is to test in your mouse moving handler, something like:

event.Dragging() and event.LeftIsDown()

You also may have a attribute that you set when an object is currently 
moving -- you can unset it on the MouseUp event.

It's possible FC2 has some utilities to make this easier, but I don't know.

HTH,
   -Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
FloatCanvas mailing list
[email protected]
http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to