Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 9th, 2003, 12:58 AM
Authorized User
 
Join Date: Jun 2003
Location: Makati City, , Philippines.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Dhodie
Default API to disable CTRL ALT DELETE key stroke

Hi!

I need to disable the CTRL ALT Delete key function in my app.
Anybody who knows the right API for this? It would be better if u can post sample codes.

Many thanks.

- Dhodie
Reply With Quote
  #2 (permalink)  
Old July 9th, 2003, 03:36 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Cardiff, , United Kingdom.
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It can’t be done I'm afraid. The [CTRL] + [ALT] + [DEL] key combination is unique to windows, so it won't let your app interrupt the sequence.

There is an outside chance that you could hook into the windows messages and cancel the keystrokes from there, but that is not something I would want to play with.

Try looking for more information about the following API's which are to do with windows messages:

CallWindowProc,
DefWindowProc,
SetProp,
SetWindowLong,
GetProp and
RemoveProp

Regards
Owain Williams
Reply With Quote
  #3 (permalink)  
Old July 9th, 2003, 04:53 AM
Authorized User
 
Join Date: Jun 2003
Location: Makati City, , Philippines.
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Dhodie
Default

Owain,

Thanks for the thought. I'll just look into some more windows messages API.

- Dhodie
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling Alt+Ctrl+Del Keys through Asp.Net 2005 p330418 ASP.NET 2.0 Basics 5 February 13th, 2008 01:18 PM
How to disable ALT+ENTER keyboard shortcut q2q2 BOOK: Access 2003 VBA Programmer's Reference 0 November 8th, 2006 05:05 PM
DISABLING CTRL-ALT-DELETE harsh_hot Javascript How-To 19 March 23rd, 2006 06:41 AM
DISABLING CTRL-ALT-DELETE harsh_hot Other Programming Languages 0 February 6th, 2006 06:42 AM
How to block Alt+Ctrl+Del sagarkoirala VB How-To 0 August 8th, 2003 12:00 PM



All times are GMT -4. The time now is 10:10 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.