PC Review


Reply
Thread Tools Rate Thread

how to capture form_Mouse events?

 
 
Jerry
Guest
Posts: n/a
 
      7th Apr 2004
Hi All,

I am trying to capture the Form MouseHover event and write
text to the console but nothing is happening. So I tried
to capture the MouseMove event. Nothing happens in the
MouseMove event sub. Do I have to set some property on
the form to activate the MouseEvents? I noticed in the
Windows generated code there were no Friend WithEvents for
Mouse stuff. Any help appreciated.

Jerry
 
Reply With Quote
 
 
 
 
Anand Balasubramanian
Guest
Posts: n/a
 
      9th Apr 2004
hi ,
In the forms property list, there will be a proeprty called KeyPreview.
SEt this to true and you should be able to capture the mouse events.
Thanks



Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PPT 2007: Capture Events Girish Microsoft Powerpoint 1 8th Jan 2010 02:26 PM
Capture FTP events =?Utf-8?B?QnJpYW4=?= Microsoft Access VBA Modules 1 16th Feb 2006 04:43 PM
How do you capture events? =?Utf-8?B?U2NvdHQgYnVja3dhbHRlcg==?= Microsoft Excel Programming 2 12th Aug 2005 05:34 PM
Re: capture all events? Martin R-L Microsoft VB .NET 0 27th Apr 2004 03:15 PM
capture all events? Erik Frey Microsoft VB .NET 9 6th Sep 2003 02:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:57 PM.