BlockInput() does not work!

1
2
3
4
5
6
7
8
#include <winable.h>

int main()
{
	BlockInput(true);
	Sleep(10000);
	BlockInput(false);
}


but im still able to use my mouse and keyboard. wat should i do to block all inputs from the user (not only to the app)?

thanks.

OS is Win7, if that makes a diff.
Last edited on
Topic archived. No new replies allowed.