26875

C# - Pan cursor

I'm implementing panning of a large image in a PictureBox control, and I have no problem setting the appropriate directional pan cursors. However, I can't seem to find the image used for the origin of the pan (a circle with arrows inside of it).

Where can I find it?

Answer1:

I think the image that you are looking is not included in the framework. Every app uses their own cursor for that (AFAIK). The closest you can get is using Cursors.SizeAll as Hans Passant already told you:

this.Cursor = Cursors.SizeAll;

Answer2:

I found some documentation about the scroll cursor origin. Putting a window in "reader mode" by calling DoReaderMode() will plant the scroll origin icon and scroll the window.

Doc page mentioning the scroll origin icon (near the bottom of the page):

http://msdn.microsoft.com/en-us/library/bb545459.aspx

Doc page for DoReaderMode():

msdn.microsoft.com/en-us/library/bb775599(VS.85).aspx

Recommend

  • is it possible to move a composite control by clicking on one of its daughter controls?
  • How to list / check existance of Managed .NET DLL's in dllhost.exe
  • Saving a one color bitmap with alpha channel in Windows Forms saves a different (wrong) color
  • Passing an array from managed code to unmanaged C++ ActiveX component
  • Install VSCode in a specific folder
  • How to rotate over HTML elements when pressing Tab key?
  • How to change the color of a check mark or 'more' arrow on a WinForms context menu?
  • Why are Google Play games icons not shown in Play Store?
  • How to check bytecode length of java method
  • Android - FM/Radio Transmitting
  • Can't fail SVN pre-commit script with Windows server
  • Standard keys functions in curses module
  • Easy way to profile Magento API calls
  • creating background processes in php for long running process
  • VBScript error 5 trying to compute sha512 with 'System.Security.Cryptography.SHA512Managed'
  • Play Framework 2.0 correct way to represent a set in a query using Anorm
  • Add filename and length parameter to WCF stream when Transfermode = Stream
  • angularjs ng-bind-html html input part missing
  • How do I properly code a javascript property and method using the 'prototype' function?
  • Circle movement upon rectangle Collision
  • Query timeout expired in django-mssql when executing custom SQL directly
  • Filter on CALayer except for a shape which is an union of (non necessarily distinct) rectangles
  • Search files(key) in s3 bucket takes longer time
  • Pre-populated SQLite Database not reading properly in Android Studio
  • Converting query results into DataFrame in python
  • Exception gevent.hub.LoopExit: LoopExit('This operation would block forever',)
  • how to set variables in a php include file?
  • Possible to get mouse events fired when cursor is outside page?
  • how does System.Web.HttpRequest::PathInfo work?
  • Scala multiline string placeholder
  • Does Mobilefirst provide a provision to access web services directly?
  • Using a canvas object in a thread to do simple animations - Java
  • Eloquent paginate function in Slim 3 project using twig
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • req.body is undefined - nodejs
  • Symfony2: How to get request parameter
  • Akka Routing: Reply's send to router ends up as dead letters
  • Is there a mandatory requirement to switch app.yaml?
  • CSS Applying specific rule for a specific monitor resolution with only CSS is posible?
  • -fvisibility=hidden not passed by compiler for Debug builds