Draw, drag & drop lines in a Picture Control

Discussion in 'MFC' started by degs2k4, Jun 27, 2008.

  1. degs2k4

    degs2k4 New Member

    Joined:
    Jun 27, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    In VS2005, I have a subclassed Picture Control (CStatic) where I can draw lines by left-button clicking, holding, and moving the mouse.

    But now, I want to click over one of those lines and "drag it" by just moving the mouse. Is it possible only by using MFC, or I should use other libraries like OpenGL ?

    Thanks !
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice