Jump to content

_BlockInputEx Questions

Recommended Posts

Very nice UDF. I have been staring at it and it is way beyond me. I was wondering if anyone could answer a couple of questions about it.

1) If you don't specify a WindowHandle and jsut do a _BlockInputEx(1) does it essentially just go through all open Windows and block each open Window by handle?

2) Since Window handles change you might need to BlockInput several, several times in a program. Say I always want to block input in notepad. The user can open and close hundreds of notepad items in an eight hour day. Will I eventually wind up in trouble by calling _BlockInputEx(1,"","",hNotepadWin) so many times? i.e. do you need to somehow release BlockInput or sooner or later you will have stack or memory problems?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...