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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to insert drawings..

How to insert drawings..

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicstutorial
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.
  • S Offline
    S Offline
    Shah Satish
    wrote on last edited by
    #1

    Hi!!! In my application, I want to create one dialog box. Which contain 2 small box. One box will contain name of the components and second box will show preview of the selected component. Like..Box1 contain. 1.Vessel. 2.Tank. 3.Pump. 4.Nozzle. 5.Exchanger. 6.Fan. Box 2.. Which show preview of the selected item. like if I will select Fan from the box 1 then it will show me Symbol(.dwg ) of the Fan. I have collected all symbol (.dwg) for all components.. Now my question is.. 1. How can I insert my all .dwg ( autocad drawing)..I.e. which method or class should i used for insert the drawing in my application. 2.How can i show preview ?? Any class or method?? Shah

    H M 2 Replies Last reply
    0
    • S Shah Satish

      Hi!!! In my application, I want to create one dialog box. Which contain 2 small box. One box will contain name of the components and second box will show preview of the selected component. Like..Box1 contain. 1.Vessel. 2.Tank. 3.Pump. 4.Nozzle. 5.Exchanger. 6.Fan. Box 2.. Which show preview of the selected item. like if I will select Fan from the box 1 then it will show me Symbol(.dwg ) of the Fan. I have collected all symbol (.dwg) for all components.. Now my question is.. 1. How can I insert my all .dwg ( autocad drawing)..I.e. which method or class should i used for insert the drawing in my application. 2.How can i show preview ?? Any class or method?? Shah

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      I think you aksed this question yesterday,you need to include a library to your program and did you see my link


      WhiteSky


      1 Reply Last reply
      0
      • S Shah Satish

        Hi!!! In my application, I want to create one dialog box. Which contain 2 small box. One box will contain name of the components and second box will show preview of the selected component. Like..Box1 contain. 1.Vessel. 2.Tank. 3.Pump. 4.Nozzle. 5.Exchanger. 6.Fan. Box 2.. Which show preview of the selected item. like if I will select Fan from the box 1 then it will show me Symbol(.dwg ) of the Fan. I have collected all symbol (.dwg) for all components.. Now my question is.. 1. How can I insert my all .dwg ( autocad drawing)..I.e. which method or class should i used for insert the drawing in my application. 2.How can i show preview ?? Any class or method?? Shah

        M Offline
        M Offline
        Maximilien
        wrote on last edited by
        #3

        Shah Satish wrote:

        1. How can I insert my all .dwg ( autocad drawing)..I.e. which method or class should i used for insert the drawing in my application.

        do you have a translator of some sort to read those .dwg files ? i.e. can you read those files yourself ? if not, I suggest loading them up in a software that can read those files and export them as bitmaps. Once that is done, look and search CodeProject for articles that show you how to load and display an image in a static control.


        Maximilien Lincourt Your Head A Splode - Strong Bad

        S 1 Reply Last reply
        0
        • M Maximilien

          Shah Satish wrote:

          1. How can I insert my all .dwg ( autocad drawing)..I.e. which method or class should i used for insert the drawing in my application.

          do you have a translator of some sort to read those .dwg files ? i.e. can you read those files yourself ? if not, I suggest loading them up in a software that can read those files and export them as bitmaps. Once that is done, look and search CodeProject for articles that show you how to load and display an image in a static control.


          Maximilien Lincourt Your Head A Splode - Strong Bad

          S Offline
          S Offline
          Shah Satish
          wrote on last edited by
          #4

          can you read those files yourself ? Yeh.. i can read that file coz i have created such a symols..its approximately 100 .dwg file. but is it to load and display lots of image ( appro 100 ) ??

          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