Click here to Skip to main content
15,903,012 members
Home / Discussions / C#
   

C#

 
AnswerRe: Console that changes directory. Pin
Dave Kreskowiak25-Jan-06 4:20
mveDave Kreskowiak25-Jan-06 4:20 
GeneralRe: Console that changes directory. Pin
Mitchell McCollum25-Jan-06 7:18
Mitchell McCollum25-Jan-06 7:18 
GeneralRe: Console that changes directory. Pin
SeanCM25-Jan-06 8:12
SeanCM25-Jan-06 8:12 
AnswerRe: Console that changes directory. Pin
mde130021-Sep-09 10:45
mde130021-Sep-09 10:45 
QuestionGetting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 2:58
NewbieDude25-Jan-06 2:58 
AnswerRe: Getting Mouse Scroll Wheel info Pin
DigitalKing25-Jan-06 9:59
DigitalKing25-Jan-06 9:59 
GeneralRe: Getting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 19:06
NewbieDude25-Jan-06 19:06 
AnswerRe: Getting Mouse Scroll Wheel info Pin
DigitalKing25-Jan-06 20:11
DigitalKing25-Jan-06 20:11 
If you're working with images, the ImageBox control is the best choice. However, it lacks some crucial functionality. To implement scrolling and panning, you might be interested in this article:

http://www.codeproject.com/cs/miscctrl/zoompancontrol.asp

You could start with the your own version of the scrolling picturebox control, and add the code above to it. When the mouse wheel is rolled, check the cursor position over the control. Center the image at the cursor position (using AutoScrollPosition and the related fields), and then do the zoom-in.
GeneralRe: Getting Mouse Scroll Wheel info Pin
NewbieDude25-Jan-06 22:30
NewbieDude25-Jan-06 22:30 
GeneralRe: Getting Mouse Scroll Wheel info Pin
DigitalKing26-Jan-06 5:08
DigitalKing26-Jan-06 5:08 
AnswerRe: Getting Mouse Scroll Wheel info Pin
microsoc25-Jan-06 17:04
microsoc25-Jan-06 17:04 
Questionpass a variable to a report Pin
steve1_rm200025-Jan-06 2:45
steve1_rm200025-Jan-06 2:45 
Question.net 2.0 substring Pin
fmardani25-Jan-06 2:27
fmardani25-Jan-06 2:27 
AnswerRe: .net 2.0 substring Pin
Guffa25-Jan-06 2:45
Guffa25-Jan-06 2:45 
GeneralRe: .net 2.0 substring Pin
fmardani25-Jan-06 2:47
fmardani25-Jan-06 2:47 
AnswerRe: .net 2.0 substring Pin
Guffa25-Jan-06 3:30
Guffa25-Jan-06 3:30 
GeneralRe: .net 2.0 substring Pin
fmardani25-Jan-06 4:38
fmardani25-Jan-06 4:38 
GeneralRe: .net 2.0 substring Pin
Judah Gabriel Himango25-Jan-06 6:18
sponsorJudah Gabriel Himango25-Jan-06 6:18 
AnswerRe: .net 2.0 substring Pin
Guffa27-Jan-06 7:16
Guffa27-Jan-06 7:16 
AnswerRe: .net 2.0 substring Pin
Dave Kreskowiak25-Jan-06 3:02
mveDave Kreskowiak25-Jan-06 3:02 
AnswerRe: .net 2.0 substring Pin
sdbytnar25-Jan-06 10:38
sdbytnar25-Jan-06 10:38 
GeneralRe: .net 2.0 substring Pin
fmardani25-Jan-06 10:44
fmardani25-Jan-06 10:44 
QuestionImage.Save(...) ?!?! Pin
Sandrina25-Jan-06 2:21
Sandrina25-Jan-06 2:21 
AnswerRe: Image.Save(...) ?!?! Pin
AB777125-Jan-06 2:24
AB777125-Jan-06 2:24 
GeneralRe: Image.Save(...) ?!?! Pin
Sandrina25-Jan-06 2:48
Sandrina25-Jan-06 2:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.