I am looking for a windows system API guru to show and solve a little problem. A desktop application has a textbox. When user presses control-alt-del and enters on cancel, the desktop app cannot differentiate between user pressing enter directly on the window of the desktop app or an enter on system dialog.
I need this distinction. Any code snippet, code reference, API reference to solve the problem is good enough.