|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
mouseclick on a toostripstatuslabelhow can I tell if it is right mouse click from left mouseclick?
I would also to test if a key like control is being held down at the same time. what I would really like to is to capture control right mouse click for debugging purpose. in a generic event handler. > how can I tell if it is right mouse click from left mouseclick? The MouseClick event uses "ByVal e AsSystem.Windows.Forms.MouseEventArgs" parameter. Use e.button returns which button was clicked. Thanks, Seth Rowe GS wrote: Show quoteHide quote > how can I tell if it is right mouse click from left mouseclick? > I would also to test if a key like control is being held down at the same > time. > > what I would really like to is to capture control right mouse click for > debugging purpose. in a generic event handler. thx
If e.Button = Windows.Forms.MouseButtons.Right Then works out well for. thx again BTW what can I use e.button.right or left for? Show quoteHide quote "rowe_newsgroups" <rowe_em***@yahoo.com> wrote in message news:1160267509.373222.130670@m73g2000cwd.googlegroups.com... > > how can I tell if it is right mouse click from left mouseclick? > > The MouseClick event uses "ByVal e As > System.Windows.Forms.MouseEventArgs" parameter. Use e.button returns > which button was clicked. > > Thanks, > > Seth Rowe > > > GS wrote: > > how can I tell if it is right mouse click from left mouseclick? > > I would also to test if a key like control is being held down at the same > > time. > > > > what I would really like to is to capture control right mouse click for > > debugging purpose. in a generic event handler. >
VB 6 developers and .Net
Read legacy vb5 files with variant declare in vb.net Running an Access macro from a VB.NETprogram How to assign value to a dropdown box items? How to prevent Pasting into textbox? ADOX add bool field How do I replace unwanted characters from a string using Reg Exp? efficient routine to parse a text string Memory problem with vb.net + webServices + DLL clicking on a DataGridView's DataSource property throws exception in designer |
|||||||||||||||||||||||