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

    About setmapmode

    hello:
    I have a question.
    I use VC++6.0 MFC ScrollView class.
    When I setup the map mode in View OnInitialUpdate()function
    use SetScrollSizes(MM_HIENGLISH, sizeTotal);OnDraw()function use
    pDC->SetMapMode(MM_HIENGLISH).
    But the coordinate value still is the screen left-up is 0,0.
    If ScrollView class only use MM_TEXT.I need setup the left-buttom
    is 0,0.
    Would you help me?


  2. #2
    Guest

    Re: About setmapmode

    see SetViewportOrgEx for your dc also.


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