tags:

views:

203

answers:

2
+1  Q: 

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?

+1  A: 

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;
Matías
Thanks Matías, I think you are right.It seems strange to me that the image is not included, or at least mentioned in the documentation, though.Thanks again.
Ash
A: 

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

Ash