vmpn
asked on
CTRL+ALT+DEL
How do I call up the window that you get if you press CTRL+ALT+DEL from inside C++ program.
which OS do you use ?
which version of c++ ?
which version of c++ ?
There is no built-in way, that is there is no API procedure or established means to do this. However, you can try to use keybd_event() to "fake" the control-alt-delete sequence. I believe that will work. Let me know if you have questions.
ASKER
Its MS VC++ 5.0 OR MS VC++ 6.0. I would like to know ways to do in for Win95 and Win98.
The OS and C+++ version don't matter. (as long as the OS is a windows OS). use keybd_event(). You will need to use it 6 times. Once the indicate contorl is down, then to indicate alt is down, then to indicate that delete is down, then to indicate delete is up etc...
ASKER
I am lloking into your solution.
ASKER
NOPE. The documentation states that the function is for WinNT ONLY.
ASKER
Oops. Nevermind
ASKER
Hi Nietod,
Please post your comment as an answer.
Looks like it works just give me time to test it on couple of PCs.
Thank you, very much
VMPN
Please post your comment as an answer.
Looks like it works just give me time to test it on couple of PCs.
Thank you, very much
VMPN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
So, how is it working?
ASKER