Actually, the values are
HorizontalScrol l.SmallChange = 5 and
HorizontalScrol l.LargeChange = 996.
But you have to explain a bit more in-depth how these values work. I just don't get how they could cuase the behaviour I described:
The mouse wheel doesn't scroll continuously. It's scrolling in steps. I call those steps "mouse wheel ticks". In the application, every mouse wheel tick causes a MouseEventArgs. Delta...
User Profile
Collapse
-
WinForms horizontal scrolling - unexpected behaviour
Hi Experts,
I'm trying to create a panel-derived class with Autoscroll = true that scrolls horizontally when using <Shift>+Mousewh eel. Sounds like a straight forward task, doesn't it?
I tried this code:Code:protected override void OnMouseWheel(MouseEventArgs e) { if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift) { // Get original horizontal position int iHorizontalPosition
-
solved
I got a tip to install .NET3.5SP1 on the target.
Even though I use .NET2.0, that works for the SecurityExcepti on.Leave a comment:
-
Debugging on a network drive - how to prevent SecurityExcepti on
You know: "If the error message changes, then you're right"
In Visual Studio's properties, I changed all paths from "Z:\..." to "\\192.168. .." and the program indeed seems to debug.
Though, it doesn't run properly yet. I get an exception in Form1's constructor:Code:public Form1() { InitializeComponent();
Leave a comment:
-
Hello tlhintoq,
1) Yes, the target firewall is off.
For testing purposes, I disabled the host firewall as well, without any effect on my problem.
2) Yes, I created a new user account on the target PC. It is administrator and has the same name and password as on the developer PC.
Maybe the problem has to do with the developer PC in a domain and the target PC not. But I don't know how to get around t...Leave a comment:
-
remote debugging xp embedded - how
Hello Experts,
I am writing an application for a device running windows xp embedded. I want to code on my developer pc and deploy the running executable to the embedded device.
- The two boxes are linked directly by a network cable.
- Both are in the same subnetwork and are able to ping each other.
- Each box is sharing a directory.
- Each box has a remotely shared directory opened in an explorer...
No activity results to display
Show More
Leave a comment: