2 Questions:

1.
How is the windows cursor drawn? ddraw? I don't understand and I can't find any information on it.


2.
When you control alt delete in windows 7 how is that screen drawn?

Thanks

2.
Probably uses windows hooks to capture keyboard events.

The CTRL+ALT+DEL key combination is SAS (Secure attention sequence), and will not be delivered to hooks.

Even if it were not SAS, it's the OS that draws the screen when that key combination is pressed, and the OS does not need to install hooks to monitor events (including key strokes).

Hooks are for applications to know what's happening within the OS.

Ok so you might be right about the SAS part. But the os only does low-level drawing. The os knows nothing about what the application program is doing. Some programmer had to write that program which is displayed when Ctrl+Alt+Del is hit on the keyboard. It's nothing more or less than another application program, just as MS-Word and MS-Paint are application programs. The operating system itself can run just fine without the help of any of those programs.

Ok so you might be right about the SAS part.

Oh, thanks for acknowledging that. And the rest of the stuff I said is right as well, but you seem to be confused. I'll try to explain.

2. Probably uses windows hooks to capture keyboard events.

You said that windows probably uses hooks to capture keyboard events, and I gave you two reasons for why that statement is incorrect.

1. Windows need not install a hook. It never does. Ever. Hooks are a mechanism that windows provide for applications to know what's going on (certain events) within windows.

2. Additionally this Ctrl+Alt+Del key combination will NEVER be delivered to a hook, because of the reason I already mentioned (SAS).

That's all I said, and I thought it was easy to understand.

But the os only does low-level drawing. The os knows nothing about what the application program is doing. Some programmer had to write that program which is displayed when Ctrl+Alt+Del is hit on the keyboard. It's nothing more or less than another application program, just as MS-Word and MS-Paint are application programs. The operating system itself can run just fine without the help of any of those programs.

That helped me understand you're probably confused about the topic itself, and my response.

Edited 5 Years Ago by Rajesh R Subram: n/a

bump... that's just the loading. I mean the literal drawing of it.

This article has been dead for over six months. Start a new discussion instead.