Solved

Blocked or Disable Mouse and Keyboard in th Windows 95

Posted on 2004-04-18
5
165 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
Comment Utility
0
 
LVL 9

Expert Comment

by:ankuratvb
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed, with points refunded (125)

CetusMOD
Community Support Moderator
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

763 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

9 Experts available now in Live!

Get 1:1 Help Now