CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2012
    Posts
    10

    BitBlt diagonal roll over effect

    Hello!
    I have a little big problem about how can I move a picture on the diagonal (roll over effect).
    I attached the example of roll over effect from right to left.
    So how is done diagonally effect?
    Any ideas are welcome.
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2001
    Posts
    6,332

    Re: BitBlt diagonal roll over effect

    If I understand correctly, you want to move an image in a diagonal direction, yes? This means changing both X and Y coordinates. So, if you were to increase both X and Y by 1 pixel, the image would appear to move diagonally.
    Please remember to rate the posts and threads that you find useful.
    How can something be both new and improved at the same time?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured