Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2004

Tip: Looking for answers? Try searching our database.

Can you intercept click event?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Seeker - 31 Aug 2004 01:49 GMT
Hello,

I am trying to control tooltips in my winform. I want to only turn them on
when the user chooses a menu item called WhatThe. When they do I change the
form's cursor to Cursors.Help and activate the tooltip. The problem is I
don't want the user to actually be able to interact with the form while in
this state. If they click the mouse I want to intercept that event and set
the form's cursor back to the default and deactivate the tooltip.

Is there a way I can intercept all click and double click events on the
winform? And if the cursor is currently set to Help cancel the event
otherwise forward it on to what ever they were clicking on? I would also
want to treat the keyboard the same way (if in help mode any keyboard event
would take it out of help mode).

thanks,
Scott
Seeker - 31 Aug 2004 02:36 GMT
Looks like this answered my question:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&newwindow=1&c2coff=1&threadm=
%23YVQ%24YGmBHA.2156%40tkmsftngp07&rnum=4&prev=/groups%3Fq%3DPreFilterMessage%2B
mouse%26btnG%3DSearch%26num%3D20%26hl%3Den%26lr%3D%26ie%3DUTF-8%26newwindow%3D1%
26c2coff%3D1


Scott

> Hello,
>
[quoted text clipped - 13 lines]
> thanks,
> Scott

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.