10479 : I use ontimeitem_userdraw to draw timeitems of custom shape. How do I make the mouse selection area match the custom shape of the timeitem?

Question

I use ontimeitem_userdraw to draw timeitems of custom shape.  How do I make the mouse selection area match the custom shape of the timeitem? 

Thanks

Answer

You implement the OnTimeItem_UserDrawBounds event, and return the e.BoundingRegion.

Nice to hear that you use these rather advanced details of the GTP.NET!

Leave a Reply