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. X,Y Coodinates: Dos Windows and Dialog Windows

X,Y Coodinates: Dos Windows and Dialog Windows

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • J Offline
    J Offline
    jerry1211a
    wrote on last edited by
    #1

    Hello, Can anyone tell me how the coordinate system works for a dialog window. Is the origin at the upper left of the Dialog window? I have an application that will require me to use X, Y coordinate data designed for a Dos window and apply it to a Dialog window, in a Dialog application. Also, can you open multiple Dos windows within a Dialog application??... if so it may make it easier for me to use the older style code. :) Jerry

    V D 3 Replies Last reply
    0
    • J jerry1211a

      Hello, Can anyone tell me how the coordinate system works for a dialog window. Is the origin at the upper left of the Dialog window? I have an application that will require me to use X, Y coordinate data designed for a Dos window and apply it to a Dialog window, in a Dialog application. Also, can you open multiple Dos windows within a Dialog application??... if so it may make it easier for me to use the older style code. :) Jerry

      V Offline
      V Offline
      vikas amin
      wrote on last edited by
      #2

      The Co-ordinate for the dialog window has its origin at the Left-Top corner of the dialog window(dialog box) As far as i understand u will have to convert the co-ordinates form Dos-window to Dialog Window. Opening multiple window ? i dont know what u mean Take care

      Vikas Amin EATON PUNE

      1 Reply Last reply
      0
      • J jerry1211a

        Hello, Can anyone tell me how the coordinate system works for a dialog window. Is the origin at the upper left of the Dialog window? I have an application that will require me to use X, Y coordinate data designed for a Dos window and apply it to a Dialog window, in a Dialog application. Also, can you open multiple Dos windows within a Dialog application??... if so it may make it easier for me to use the older style code. :) Jerry

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        jerry1211a wrote:

        Also, can you open multiple Dos windows within a Dialog application??...

        Yes, you can have more than one command-prompt window open at the same time.


        "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

        "Judge not by the eye but by the heart." - Native American Proverb

        1 Reply Last reply
        0
        • J jerry1211a

          Hello, Can anyone tell me how the coordinate system works for a dialog window. Is the origin at the upper left of the Dialog window? I have an application that will require me to use X, Y coordinate data designed for a Dos window and apply it to a Dialog window, in a Dialog application. Also, can you open multiple Dos windows within a Dialog application??... if so it may make it easier for me to use the older style code. :) Jerry

          V Offline
          V Offline
          vikas amin
          wrote on last edited by
          #4

          Hi Jerry This link is exactly what u want http://www.functionx.com/visualc/gdi/gdicoord.htm

          Vikas Amin EATON PUNE

          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