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
    Location
    UK, London
    Posts
    155

    a question on sortign out vertical scrolling

    Hi
    I have an image i am trying to view correctly in my csrollview dreived class...
    I place the image in the view by using StretchDIBits and its showing up just fine

    its quite long and goes off the bottom to where you are suposed to scroll to..so no problems there

    But i dont know how to make the vertical scrolling work correctly and was wondering
    what exact steps do i need to do to make sure that the vertical scrolling work correctly?

    do i need to worry about screen units?
    what do i need to set the scroll sizes to and how do i figure it out (if say my image is a matrix 256x1024 greyscale)
    ?
    I would appreciate any help you could give me as i am finding this quite difficult

    thank you

    Regards


    Bryce




  2. #2
    Join Date
    Apr 1999
    Location
    UK, London
    Posts
    155

    a question on sortign out vertical scrolling

    Hi
    I have an image i am trying to view correctly in my csrollview dreived class...
    I place the image in the view by using StretchDIBits and its showing up just fine

    its quite long and goes off the bottom to where you are suposed to scroll to..so no problems there

    But i dont know how to make the vertical scrolling work correctly and was wondering
    what exact steps do i need to do to make sure that the vertical scrolling work correctly?

    do i need to worry about screen units?
    what do i need to set the scroll sizes to and how do i figure it out (if say my image is a matrix 256x1024 greyscale)
    ?
    I would appreciate any help you could give me as i am finding this quite difficult

    thank you

    Regards


    Bryce




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