PDA

View Full Version : How to orientate a moving item?



lengshuang
12th April 2009, 15:04
hi
friends!In my program I want to orientate a moving item.for example,a item's position will be changed by the inputing position value,when the mouse's cursor move on the item,I want to show some information about that item.but first of all,how can I know the cursor is on the item?

Thanks in advance!

aamer4yu
12th April 2009, 20:40
Are you talking about graphics Item ?
Look for some hover event. And also in paint event you get option which tells if the mouse is over or not.

lengshuang
13th April 2009, 08:25
Thank you for the reply.I check out first.:D