R
Roger Crawfis
In my windows app, I have an event handler for the mouse move, and want to
allow for constrained interaction using the shift or control keys. I can not
figure out how to get the state of the shift, control or alt key modifiers
for the mouse. The mouseEventArgs does not seems to have anything, and
casting the sender to a control and trying to inquire has led to compiler
errors. This functionality exists in the Drag and Drop event args, but not
the mouse. How do we determine the key modifiers for the mouse in .NET?
Roger
allow for constrained interaction using the shift or control keys. I can not
figure out how to get the state of the shift, control or alt key modifiers
for the mouse. The mouseEventArgs does not seems to have anything, and
casting the sender to a control and trying to inquire has led to compiler
errors. This functionality exists in the Drag and Drop event args, but not
the mouse. How do we determine the key modifiers for the mouse in .NET?
Roger