How can move picture with mouse in a dialog box

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zahraZ
    New Member
    • Jul 2010
    • 17

    #1

    How can move picture with mouse in a dialog box

    Hello
    i put a picture in the dialog box, i want to move this picture on mouse move. and also show new position of this picture in this dialog box.
    what should i do?
    regard,
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    in what platform?

    Comment

    • zahraZ
      New Member
      • Jul 2010
      • 17

      #3
      sorry , i don't understand what did yo mean.
      please explain more .
      it is very necessary for me.
      ReGaRd

      Comment

      • johny10151981
        Top Contributor
        • Jan 2010
        • 1059

        #4
        To understand WM_MOUSEMOVE message
        WM_MOUSEMOVE
        to understand GetClientRect
        GetClientRect

        to understand SetWindowPos
        SetWindowPos

        using these three you can implement what you need.

        And I hope you understand Win32 Programming

        Comment

        • zahraZ
          New Member
          • Jul 2010
          • 17

          #5
          Thanks alot , your answer solved my problem.
          Thanks again.

          Comment

          Working...