kvarnerexpress
Mar 5 2006, 05:03 AM
| | Title practically tells all. whenever the letters "erty" are inserted in that order. i want to be able to close the current active wordpad window. i have no idea how to do this with WinAPI functions although i think i could use FindWindow() and CloseWindow() to close the window maybe? it's the catching input thats bugging me. i need to be able to catch it while another window is active any ideas?
|
Reply
Similar Topics
Keywords :
catching input closing wordpad- Mouse Input In C Programs
- using checkbox etc (5)
- How To Input A Password In C
- (0)
We all know that C doesnt not provide us with any function to enter a password so that whatever we
type doesnt get on the screen. I had this problem and i have found a solution. i have made a funtion
CODE #include <stdio.h> #include <conio.h> #include <stdlib.h> #include
<string.h> getpassword(char[]); getpassword(char
password[100]) { char a; int ab=0; while(1) { fflush(stdin);
a=getch(); if (a>47 && a<123) { password[ab]=a; ab++; } else
if(a==8) ...
Looking for catching, key, input, closing, wordpad