How can I rotate a panel to face the mouse?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benhania
    New Member
    • Jul 2008
    • 5

    How can I rotate a panel to face the mouse?

    hi
    i'm working on windows app and i want to know how can i make a panel point to the direction of the cursor (rotate respectively to it)

    ty
  • tlhintoq
    Recognized Expert Specialist
    • Mar 2008
    • 3532

    #2
    Someone correct me if I'm wrong, but panels don't rotate.

    Comment

    • benhania
      New Member
      • Jul 2008
      • 5

      #3
      an image then..doesn't really matter

      Comment

      • tlhintoq
        Recognized Expert Specialist
        • Mar 2008
        • 3532

        #4
        Read up on the 'Image' object. It has built-in rotate and flip methods

        Code:
        MyImage.RotateFlip(RotateFlipType.Rotate270FlipNone);

        Comment

        Working...