Click here to Skip to main content
15,889,651 members
Home / Discussions / C#
   

C#

 
AnswerRe: HeaderFile vs Class Pin
Luc Pattyn20-May-10 4:55
sitebuilderLuc Pattyn20-May-10 4:55 
GeneralRe: HeaderFile vs Class Pin
jashimu20-May-10 5:41
jashimu20-May-10 5:41 
GeneralRe: HeaderFile vs Class Pin
Luc Pattyn20-May-10 5:54
sitebuilderLuc Pattyn20-May-10 5:54 
QuestionAccessing network share with username & password from c# Pin
Suunil20-May-10 2:56
Suunil20-May-10 2:56 
QuestionUploading with WebClient Pin
Matt Cavanagh20-May-10 2:13
Matt Cavanagh20-May-10 2:13 
Questiondatagrid view autocomplete Pin
NarendraSinghJTV20-May-10 2:00
NarendraSinghJTV20-May-10 2:00 
QuestionC# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
willempipi20-May-10 0:28
willempipi20-May-10 0:28 
AnswerRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
Henry Minute20-May-10 1:55
Henry Minute20-May-10 1:55 
If I have interpreted your question correctly, you are saying that using the scrollwheel on your mouse does not cause the panel to scroll. If I have misunderstood then please disregard the rest of this message.

There are several controls in Visual Studio that suffer from this problem. Sometimes, but not always, this is caused because the control does not have focus. The solution in those cases is to handle the MouseEnter event to give the control focus.

private void myUserControl_MouseEnter(object sender, EventArgs e)
{
   myUserControl.Focus(); //allows the mouse wheel to work after the panel has had the mouse move over it
}


If this doesn't work immediately, then I am probably wrong about the cause.

Good luck! Smile | :)
Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.

GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
willempipi20-May-10 2:04
willempipi20-May-10 2:04 
GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
Henry Minute20-May-10 2:07
Henry Minute20-May-10 2:07 
GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
willempipi20-May-10 2:18
willempipi20-May-10 2:18 
GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
Luc Pattyn20-May-10 2:47
sitebuilderLuc Pattyn20-May-10 2:47 
GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
willempipi20-May-10 3:25
willempipi20-May-10 3:25 
GeneralRe: C# Forms: Capture scroll event in a usercontrol with only static checkboxes. Pin
Luc Pattyn20-May-10 3:30
sitebuilderLuc Pattyn20-May-10 3:30 
QuestionVSS and Visual studio Pin
Zeyad Jalil20-May-10 0:25
professionalZeyad Jalil20-May-10 0:25 
AnswerYou have a habit of asking none C# questions in this forum. Would you please not do that? Pin
Pete O'Hanlon20-May-10 0:42
mvePete O'Hanlon20-May-10 0:42 
QuestionHow to create Contact form with C# in ASP.NET Pin
BasPoldervaart19-May-10 23:15
BasPoldervaart19-May-10 23:15 
AnswerRe: How to create Contact form with C# in ASP.NET Pin
Arun Jacob19-May-10 23:31
Arun Jacob19-May-10 23:31 
Questiondecimal question Pin
Jassim Rahma19-May-10 23:14
Jassim Rahma19-May-10 23:14 
AnswerRe: decimal question Pin
OriginalGriff20-May-10 1:17
mveOriginalGriff20-May-10 1:17 
AnswerRe: decimal question Pin
Heinzzy20-May-10 1:59
Heinzzy20-May-10 1:59 
AnswerRe: decimal question Pin
Luc Pattyn20-May-10 2:51
sitebuilderLuc Pattyn20-May-10 2:51 
QuestionPrint certificate Pin
Jassim Rahma19-May-10 23:07
Jassim Rahma19-May-10 23:07 
AnswerRe: Print certificate Pin
OriginalGriff20-May-10 0:15
mveOriginalGriff20-May-10 0:15 
QuestionChange SQL Server dateformat? Pin
Dotnetkanna19-May-10 22:44
Dotnetkanna19-May-10 22:44 

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.