I want to write a small utility in MFC which sends the Ctrl+Alt+Del message to OS. Can any one help me how do I achieve this ? I tried ::PostMessage(HWND_BROADCAST, WM_HOTKEY, 0, MAKELONG( MOD_CONTROL | MOD_ALT, VK_DELETE)); But this is not working.
Thanks.
I want to Send Ctl+Alt+Del not to invoke TaskMgr.exe. Also, it is for my local OS ( Windows XP Service pack 2). Basically I want to use this application to lock my machine and schedule some actions along with locking.