How to block ALT+TAB and CTRL+ALT+DEL key 
Author Message
 How to block ALT+TAB and CTRL+ALT+DEL key

Hi,
I have tried to use the GetKeyState to detect the ALT+TAB key as well as
GetKeyBoardState and SetKeyboardState but fails. Even though I set the
keyboard state to 0, it still fires the ALT+TAB event, any suggestion that I
can block this ALT+TAB event within the Key Press event in a form?

Thanks
Iva



Sun, 20 Jan 2002 03:00:00 GMT  
 How to block ALT+TAB and CTRL+ALT+DEL key
If you want one which you don't need to put the author in, take a look at
the thread 'Block Out Keys' in the microsoft.public.vb.general.discussion
ng. There's a fully working example there too.


Quote:
> Hi

> The attached zip should solve your problems. Please acknowledge the
original
> author.

> Barry


> >Hi,
> >I have tried to use the GetKeyState to detect the ALT+TAB key as well as
> >GetKeyBoardState and SetKeyboardState but fails. Even though I set the
> >keyboard state to 0, it still fires the ALT+TAB event, any suggestion
that
> I
> >can block this ALT+TAB event within the Key Press event in a form?

> >Thanks
> >Iva



Mon, 21 Jan 2002 03:00:00 GMT  
 How to block ALT+TAB and CTRL+ALT+DEL key
I can't find the article you mentioned about the 'Block Out Keys' in
microsoft.vb.general.discussion. Would you please email it to me? Thanks
Iva


Quote:
> If you want one which you don't need to put the author in, take a look at
> the thread 'Block Out Keys' in the microsoft.public.vb.general.discussion
> ng. There's a fully working example there too.



> > Hi

> > The attached zip should solve your problems. Please acknowledge the
> original
> > author.

> > Barry


> > >Hi,
> > >I have tried to use the GetKeyState to detect the ALT+TAB key as well
as
> > >GetKeyBoardState and SetKeyboardState but fails. Even though I set the
> > >keyboard state to 0, it still fires the ALT+TAB event, any suggestion
> that
> > I
> > >can block this ALT+TAB event within the Key Press event in a form?

> > >Thanks
> > >Iva



Mon, 21 Jan 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to block ALT+TAB and CTRL+ALT+DEL key

2. Block System Key like ALT+TAB, Ctrl+Alt+Del, Ctrl+Esc key

3. Disable (Ctrl+Alt+Del),(Ctrl+Esc),(Alt+Tab) in NT

4. Disable ctrl+esc ctrl+alt+del alt+tab

5. Disable (Ctrl+Alt+Del),(Ctrl+Esc),(Alt+Tab) in NT

6. block ctl+alt+del and alt+tab

7. CTRL-ALT-DEL, ALT-TAB

8. Alt Tab and Ctrl Alt Del

9. CTRL-ALT-DEL, ALT-TAB

10. Unable the use of Alt-Tab and Ctrl-Alt-Del

11. CTRL/ALT/DEL and ALT/TAb

12. CTRL-ALT-DEL, ALT-TAB

 

 
Powered by phpBB® Forum Software