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. size difference between dialog and view

size difference between dialog and view

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestionworkspace
8 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.
  • H Offline
    H Offline
    Hel
    wrote on last edited by
    #1

    I am writing an application where users can customize points on a map. As they configure and add a new point I use a static control to display an example point on the point-configuration dialog box. The problem I'm having is that even though I am using the same size to display the point on the dialog and to the view, the point in the dialog is half the size of the point on the view. I'm pretty sure this has to do with a difference in the point density of the DC I get to the static control and the DC I get to the view, but am not too sure where to start looking for a solution to this problem. Please could anyone offer some advice? well hell doesn't want you and heaven is full. Tom Waits

    L P 2 Replies Last reply
    0
    • H Hel

      I am writing an application where users can customize points on a map. As they configure and add a new point I use a static control to display an example point on the point-configuration dialog box. The problem I'm having is that even though I am using the same size to display the point on the dialog and to the view, the point in the dialog is half the size of the point on the view. I'm pretty sure this has to do with a difference in the point density of the DC I get to the static control and the DC I get to the view, but am not too sure where to start looking for a solution to this problem. Please could anyone offer some advice? well hell doesn't want you and heaven is full. Tom Waits

      L Offline
      L Offline
      l a u r e n
      wrote on last edited by
      #2

      scaling modes :)


      "traffic lights are for people who can't make their own decisions"
      biz stuff   about me

      H 1 Reply Last reply
      0
      • H Hel

        I am writing an application where users can customize points on a map. As they configure and add a new point I use a static control to display an example point on the point-configuration dialog box. The problem I'm having is that even though I am using the same size to display the point on the dialog and to the view, the point in the dialog is half the size of the point on the view. I'm pretty sure this has to do with a difference in the point density of the DC I get to the static control and the DC I get to the view, but am not too sure where to start looking for a solution to this problem. Please could anyone offer some advice? well hell doesn't want you and heaven is full. Tom Waits

        P Offline
        P Offline
        Phil J Pearson
        wrote on last edited by
        #3

        Mapping modes and MapDialogRect


        The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).

        H 1 Reply Last reply
        0
        • P Phil J Pearson

          Mapping modes and MapDialogRect


          The opinions expressed in this communication do not necessarily represent those of the author (especially if you find them impolite, discourteous or inflammatory).

          H Offline
          H Offline
          Hel
          wrote on last edited by
          #4

          Thanks a million. MapDialogRect was just what was needed:-D well hell doesn't want you and heaven is full. Tom Waits

          1 Reply Last reply
          0
          • L l a u r e n

            scaling modes :)


            "traffic lights are for people who can't make their own decisions"
            biz stuff   about me

            H Offline
            H Offline
            Hel
            wrote on last edited by
            #5

            Eeesh:omg: I suppose I deserved that. :) well hell doesn't want you and heaven is full. Tom Waits

            L 1 Reply Last reply
            0
            • H Hel

              Eeesh:omg: I suppose I deserved that. :) well hell doesn't want you and heaven is full. Tom Waits

              L Offline
              L Offline
              l a u r e n
              wrote on last edited by
              #6

              helena!!!!!!!!!!!!!!!! how u doing girl?????


              "traffic lights are for people who can't make their own decisions"
              biz stuff   about me

              H 1 Reply Last reply
              0
              • L l a u r e n

                helena!!!!!!!!!!!!!!!! how u doing girl?????


                "traffic lights are for people who can't make their own decisions"
                biz stuff   about me

                H Offline
                H Offline
                Hel
                wrote on last edited by
                #7

                Hah hah how did you guess?? The silly question maybe sound familiar:~ Very well, working hard, sleeping little and occasional bouts of sex. How are you? well hell doesn't want you and heaven is full. Tom Waits

                L 1 Reply Last reply
                0
                • H Hel

                  Hah hah how did you guess?? The silly question maybe sound familiar:~ Very well, working hard, sleeping little and occasional bouts of sex. How are you? well hell doesn't want you and heaven is full. Tom Waits

                  L Offline
                  L Offline
                  l a u r e n
                  wrote on last edited by
                  #8

                  nooooooooooooooo i just saw the address on ur email thing heh im freezin my ass off in brooklyn but gettin cool ... got a band thing lined up ... got work coming in ... hangin with dj's and stuff ... is cool ... miss the beaches and the sun and the way of life and all but this is good for now will write u more in private later today :)


                  "traffic lights are for people who can't make their own decisions"
                  biz stuff   about me

                  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