473,385 Members | 1,930 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DoŽnt hook mouse and keyboard action.

Hi!
I've developed an application, and I want to use a semi opac form to
show the help.
The idea is to show the transparent help form on top (TopMost =
True)and still be able to work with the application underneath.
By setting CausesValidation = False, it ignores keyboard action so
thats OK, but it still hooks the mouse clicks.
Does anybody know how to disasble the mouse hook in the form? (Or
other work around?)
Have messed around with SetWindowsHookEx but haveŽnt found out how to use it.
Greatfull for anny idea.

/Perra
Nov 20 '05 #1
3 1976
Have you looked into intercepting the message loop?
"Per Larsson" <pe*********@samhall.se> wrote in message
news:f3**************************@posting.google.c om...
Hi!
I've developed an application, and I want to use a semi opac form to
show the help.
The idea is to show the transparent help form on top (TopMost =
True)and still be able to work with the application underneath.
By setting CausesValidation = False, it ignores keyboard action so
thats OK, but it still hooks the mouse clicks.
Does anybody know how to disasble the mouse hook in the form? (Or
other work around?)
Have messed around with SetWindowsHookEx but haveŽnt found out how to use it. Greatfull for anny idea.

/Perra

Nov 20 '05 #2
* pe*********@samhall.se (Per Larsson) scripsit:
I've developed an application, and I want to use a semi opac form to
show the help.
The idea is to show the transparent help form on top (TopMost =
True)and still be able to work with the application underneath.
By setting CausesValidation = False, it ignores keyboard action so
thats OK, but it still hooks the mouse clicks.
Does anybody know how to disasble the mouse hook in the form? (Or
other work around?)
Have messed around with SetWindowsHookEx but haveŽnt found out how to use it.
Greatfull for anny idea.


You want to forward clicks onto the form to the underlying window?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
hi***************@gmx.at (Herfried K. Wagner [MVP]) wrote in message news:<bq*************@ID-208219.news.uni-berlin.de>...
* pe*********@samhall.se (Per Larsson) scripsit:
I've developed an application, and I want to use a semi opac form to
show the help.
The idea is to show the transparent help form on top (TopMost =
True)and still be able to work with the application underneath.
By setting CausesValidation = False, it ignores keyboard action so
thats OK, but it still hooks the mouse clicks.
Does anybody know how to disasble the mouse hook in the form? (Or
other work around?)
Have messed around with SetWindowsHookEx but haveŽnt found out how to use it.
Greatfull for anny idea.


You want to forward clicks onto the form to the underlying window?


Yes, thatŽs right.
I want the help form, concerning keyboard and mouse action, to act as
if it wasŽnt there at all. (I start and stop it from an other form
that is small and doesn't block so much of the screen.)
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Karthik A. | last post by:
Hi, Is there a way to do keyboard hooking in java, if yes can anyone give me the source code? Thanks Karthik
1
by: Saurabh K V | last post by:
Hi All, Icons and images for my site are sometimes not displayed on the page (aspx). I am running my site on Https, but when I tried this thing on http it doesn't give error (icons and images...
13
by: James Bond | last post by:
Hello. My 80+ year old father has recently decided to get his first computer. Due to his age (and I suspect lack of playing pong as a child like I did) he lacks the manual dexterity to use a mouse...
5
by: HS Hartkamp | last post by:
Hi all, I am working with fairly large databases (> 500 Mb / < 2,000,000 rexcords), and often need to do action queries on these. I have the feeling that much of the computing power is going...
0
by: madhuri.eerupula | last post by:
hi how can we do mousedown and mouseup operations on a picture box in a form using c#, actually, i want to get rectangular coordinates on the (content of ) picture box and am able to get on form...
4
by: Venkatesh | last post by:
Hello All, I have an iframe in my main html and within iframe, I'm loading another HTML webpage. In my main html page, I've captured the mouse click event, by setting the "onclick" for <bodyof...
0
by: shivmuni | last post by:
Hi All, I want integrate help with my application . I drop HelpProvider control on form and assigned TopicId. On F1 key press I am not able to show help. Please help me . Thanks in...
8
by: RJ45 | last post by:
Hello, I am writing a shell in C. I need to intercept Signals like CTRL+C or CTRL+D and set to ignore them. This is on Unix, using gcc. my goal is to avoid users escaping the shell with SIGINT...
5
by: vandanavai | last post by:
Hello everybody, I have recently joined forum and this is my first post. I am trying to learn access. I could develope simple form with 3 text boxes and one command button on it. When command...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.