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. WCF and WF
  4. how to scroll zoomed imag with mouse

how to scroll zoomed imag with mouse

Scheduled Pinned Locked Moved WCF and WF
csstutorialquestion
3 Posts 2 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.
  • F Offline
    F Offline
    Feras Mazen Taleb
    wrote on last edited by
    #1

    I want to use the mouse to scroll the image when its size bigger than the Grid so that the Scroll bar will appear I need to let the user to scroll when press the left mouse button and move the mouse on the image because user hated to use Scroll bar to move in the zoomed image :) :( :cool:

    You have To Search About The Truth Of Your Life Why Are you Here In Life ?

    C 1 Reply Last reply
    0
    • F Feras Mazen Taleb

      I want to use the mouse to scroll the image when its size bigger than the Grid so that the Scroll bar will appear I need to let the user to scroll when press the left mouse button and move the mouse on the image because user hated to use Scroll bar to move in the zoomed image :) :( :cool:

      You have To Search About The Truth Of Your Life Why Are you Here In Life ?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'd have thought the mouse would move the scrollbars ? If not, you need to catch the mouse events and scroll the image based on the change of mouse position.

      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

      F 1 Reply Last reply
      0
      • C Christian Graus

        I'd have thought the mouse would move the scrollbars ? If not, you need to catch the mouse events and scroll the image based on the change of mouse position.

        Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

        F Offline
        F Offline
        Feras Mazen Taleb
        wrote on last edited by
        #3

        thanks a lot could explain just a little more :doh:

        You have To Search About The Truth Of Your Life Why Are you Here In Life ?

        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