Click here to Skip to main content
16,006,475 members
Home / Discussions / C#
   

C#

 
QuestionConsole that changes directory. Pin
Mitchell McCollum25-Jan-06 3:20
Mitchell McCollum25-Jan-06 3:20 
AnswerRe: Console that changes directory. Pin
leppie25-Jan-06 3:41
leppie25-Jan-06 3:41 
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 
Did you want to know when the user is rotating the mouse wheel?
Here's the solution. If your window has focus, this will work even if the mouse isn't over the window.
private const int WM_MOUSEWHEEL = 0x020A;
protected override void WndProc(ref Message m)
{
    if (m.Msg == WM_MOUSEWHEEL)
    {
        if (m.WParam.ToInt32() > 0)
        {
            //Mouse wheel rotated forward (away from user)
        }
        else
        {
            //Mouse wheel rotated backward (towards user)
        }
    }
    base.WndProc(ref m);
}

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 
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 

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.