CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Location
    Philippines
    Posts
    46

    Problem using MM_HIMETRIC mapping mode



    Hi,

    Does MM_HIMETRIC mapping mode have maximum limits?

    I'm using Polyline(...) command to plot a line to my CDC,

    but when the x and y values reach approx 30000 or -30000,

    the lines are no longer drawn in proper places.

    Is anybody familiar with this problem?

    What settings in CDC should I include?

    Thanks in advance.



  2. #2
    Join Date
    Apr 1999
    Location
    Germany
    Posts
    418

    Re: Problem using MM_HIMETRIC mapping mode



    Hi Tonio,


    you're developing under Win95/98, right? There's a limit with the GDI functions. No GDI function can take a value bigger than 32767 and smaller than -32767.


    Martin

  3. #3
    Join Date
    Apr 1999
    Location
    Philippines
    Posts
    46

    Thanks!



    Hi,

    Thanks for the info.

    Now I could start researching for a work-around.

    Regards.




  4. #4
    Join Date
    Mar 1999
    Posts
    2

    Re: Thanks!



    Tonio: if you find one, please let me know! I have similar problem in scrolling and zooming a gdi view, and displaying lines and arcs in a path..

    Thanks!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured