Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help blanking screen (API) on right-clicks

Status
Not open for further replies.

scottborn

Technical User
Nov 25, 2001
1
US
I work with children with disablities, and rather than disabling the right mouse button, I would like a simple program that would run on WIN98 and blank the screen for 5 seconds any time a right click happened in ANY program.

Could someone help me?
 
Scott: I could code such a program for you in VC++. The program would be displayed in the system tray if you would like. The program would just need to install a global hook to intercept every right mouse click no matter what program it was intended for. The program's client area would be the same size as the current desktop. When the program installs a hook into the systems message stream and detects a right mouse click, it would simply maximize it's self for 5 seconds ( displaying it's black client area full screen). The program would be coded with no title bar ( no maximize,minimize button etc...) so the user will be forced to wait the 5 seconds. After the time is up, the program will simply minimize itself back into the tray. Does this sound right? Mike L.G.
mlg400@blazemail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top