Solved

Blocked or Disable Mouse and Keyboard in th Windows 95

Posted on 2004-04-18
5
168 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
  • 2
5 Comments
 
LVL 9

Expert Comment

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
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…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now