Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Blocked or Disable Mouse and Keyboard in th Windows 95

Posted on 2004-04-18
5
Medium Priority
?
173 Views
Last Modified: 2010-04-15
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
Comment
Question by:osteinjr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Expert Comment

by:ankuratvb
ID: 10853083
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
 

Author Comment

by:osteinjr
ID: 10858469
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
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 11695828
PAQed, with points refunded (125)

CetusMOD
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question