Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

Blocked or Disable Mouse and Keyboard in th Windows 95

I need an aid to block or disable the keyboard and mouse in the Windows 95, I am using Vc++, exite some api similar to blockinput? Somebody has a solution?
0
osteinjr
Asked:
osteinjr
  • 2
1 Solution
 
ankuratvbCommented:
One way would be to use a mouse/keyboard hook and eat all relevant messages
directed to your window. Take a look at SetWindowsHookEx().

Another idea for handling mouse message would be to hide the cursor in your
window and override OnNcHitTest. In its handler, return HTNOWHERE or its
equivalent.
0
 
osteinjrAuthor Commented:
Still the problem exists, because this necessary solution to be in a DLL and does not possess graphical part, thus would be necessary to block for the operational system.
0
 
CetusMODCommented:
PAQed, with points refunded (125)

CetusMOD
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now