Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Please help me

Please help me

Scheduled Pinned Locked Moved C / C++ / MFC
graphicshelpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Could you give tutorials about drawing application by moving objects ? Thank you.

    L C U 3 Replies Last reply
    0
    • L Lost User

      Could you give tutorials about drawing application by moving objects ? Thank you.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Could you give me tutorials about drawing application by moving objects ? Thank you:)

      1 Reply Last reply
      0
      • L Lost User

        Could you give tutorials about drawing application by moving objects ? Thank you.

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        You have a microsoft certificate, or you want one ? Why don't you register ? What do you want to know ? You want to create drag and drop objects, like Visio ? To do that, you need an array of objects and an array of points that represent where you can grab an object. When someone clicks, you need to step through your array and work out if something has been clicked that you want to drag, then you need to move the co-ordinates for that object as you drag. Finally, your draw function should redraw the objects based on those co-ordinates. Christian Graus - Microsoft MVP - C++

        1 Reply Last reply
        0
        • L Lost User

          Could you give tutorials about drawing application by moving objects ? Thank you.

          U Offline
          U Offline
          ucc801
          wrote on last edited by
          #4

          If you only need some simple drawing feature,the drawcli sample is a good start,you can find this sample with: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample/html/_sample_mfc_DRAWCLI.asp[^] But if you want a Visio like drag-drop,drawing,alignment features etc,I think you should try some third-party library,such as XD++ MFC Library,it shipps with full MFC Source Codes,and can be found with: http://www.ucancode.net Jack

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups