H
HaySeed
Captutring a mouseDown event and instituting a "DragDrop" operation seems to
keep the Click event from firing.
void ColumnHeader_MouseDown(object sender, MouseEventArgs e) {
if (e.Button == MouseButtons.Left) {
this.DoDragDrop(this, DragDropEffects.Copy);
}
}
Is there a way to have both? When a user presses the mouse down on a
Control and drags - it should invoke a DragDrop operation, when they Click
the header it should invoke a Click.
Any suggestions?
keep the Click event from firing.
void ColumnHeader_MouseDown(object sender, MouseEventArgs e) {
if (e.Button == MouseButtons.Left) {
this.DoDragDrop(this, DragDropEffects.Copy);
}
}
Is there a way to have both? When a user presses the mouse down on a
Control and drags - it should invoke a DragDrop operation, when they Click
the header it should invoke a Click.
Any suggestions?