Click here to Skip to main content
15,907,874 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Draw on view Pin
Alan Balkany5-Jun-08 3:54
Alan Balkany5-Jun-08 3:54 
GeneralRe: Draw on view Pin
baerten5-Jun-08 4:14
baerten5-Jun-08 4:14 
GeneralRe: Draw on view Pin
Alan Balkany5-Jun-08 4:27
Alan Balkany5-Jun-08 4:27 
GeneralRe: Draw on view Pin
baerten5-Jun-08 4:39
baerten5-Jun-08 4:39 
GeneralRe: Draw on view Pin
Alan Balkany5-Jun-08 4:43
Alan Balkany5-Jun-08 4:43 
GeneralRe: Draw on view Pin
Hamid_RT6-Jun-08 1:14
Hamid_RT6-Jun-08 1:14 
QuestionBitBlt is failing on pressing clt+alt+del [modified] Pin
subramanyeswari5-Jun-08 2:24
subramanyeswari5-Jun-08 2:24 
AnswerRe: BitBlt is failing on pressing clt+alt+del Pin
Baltoro5-Jun-08 6:36
Baltoro5-Jun-08 6:36 
Not i am able to draw.
...this must be: "NOW I am able to draw",...otherwise the question doesn't make much sense.
You don't tell us what the source is that you are attempting to capture, when the user selects the CTRL-ALT-DLT, but you could just automatically save the image to memory when it initially appears (I assume that it is being displayed in your app window), even though the user has not selected it.

The following information is from Wikipedia[^]:

"In Windows NT, and thus on its successors, including Windows 2000, Windows XP, Windows Server 2003, Windows Vista and Windows Server 2008, this keystroke combination is recognized (as a special system-wide "keyboard hook") by the Winlogon process, which in response instructs GINA to perform one of the following tasks:

(1) If nobody is logged in, bringing up the login dialog to allow the user to log in. Also used when the computer is locked to bring up the unlock dialog.
(2) If the computer is configured as a part of a domain or it runs Windows 2000, the combination brings up the "Windows Security" dialog, where the user can lock the computer, change their password, log out, shut the computer down, or invoke the Task Manager. This is the default behavior in Windows Vista and Windows Server 2008, regardless of whether or not the computer is part of a domain. The options presented can be controlled through the use of Group Policy.
(3) If Windows XP is not connected to a domain...
and the Welcome Screen and fast user switching are turned on, Ctrl-Alt-Del directly invokes the Task Manager.
and the Welcome Screen and fast user switching are turned off, Ctrl-Alt-Del will open the Windows Security Dialog, as described above.

Windows NT is designed so that, unless security is already compromised in some other way, only the WinLogon process, a trusted system process, can receive notification of this keystroke combination. This is because the kernel remembers the Process ID of the WinLogon process, and allows only that process to receive the notification. This keystroke combination is thus called the Secure Attention Sequence. A user pressing Control-Alt-Delete can be sure that it is the operating system (specifically the WinLogon process), rather than a third party program, that is responding to the key combination, and that it is therefore safe to enter a password. It was chosen as the secure attention key in Windows (instead of, for example, the System Request key), because on the PC platform no program could reasonably expect to redefine this keystroke combination for its own purposes.
It is also a reliable method for bringing up the Task Manager (in Windows Server 2003 and older). All other keystroke combinations could potentially be exclusively tied up by a process that is stuck, but a user process is not able to intercept the Control-Alt-Delete sequence. It can be however disabled by Windows Group Policies. Ctrl+Shift+Esc also brings up the task manager in all Windows NT versions starting with NT 4.0, even if pressing Ctrl+Alt+Del is set to bring up the Windows Security dialog".

There is an article about disabling the Secure Attention Sequence, by Paul DiLascia[^], in which he explains all the important Windows System details. The answer you want is probably there.
GeneralRe: BitBlt is failing on pressing clt+alt+del Pin
Hamid_RT6-Jun-08 1:14
Hamid_RT6-Jun-08 1:14 
QuestionDLL problem Pin
prithaa5-Jun-08 1:55
prithaa5-Jun-08 1:55 
AnswerRe: DLL problem Pin
Cedric Moonen5-Jun-08 2:13
Cedric Moonen5-Jun-08 2:13 
AnswerRe: DLL problem Pin
ShilpiP5-Jun-08 2:17
ShilpiP5-Jun-08 2:17 
GeneralRe: DLL problem Pin
prithaa5-Jun-08 21:22
prithaa5-Jun-08 21:22 
GeneralRe: DLL problem Pin
ShilpiP5-Jun-08 22:53
ShilpiP5-Jun-08 22:53 
GeneralRe: DLL problem Pin
prithaa5-Jun-08 23:09
prithaa5-Jun-08 23:09 
GeneralRe: DLL problem Pin
ShilpiP5-Jun-08 23:21
ShilpiP5-Jun-08 23:21 
QuestionGetActiveWindow Pin
iayd5-Jun-08 1:44
iayd5-Jun-08 1:44 
AnswerRe: GetActiveWindow Pin
SandipG 5-Jun-08 1:45
SandipG 5-Jun-08 1:45 
GeneralRe: GetActiveWindow Pin
iayd5-Jun-08 2:01
iayd5-Jun-08 2:01 
AnswerRe: GetActiveWindow Pin
Jijo.Raj5-Jun-08 1:58
Jijo.Raj5-Jun-08 1:58 
GeneralRe: GetActiveWindow Pin
iayd5-Jun-08 2:12
iayd5-Jun-08 2:12 
AnswerRe: GetActiveWindow Pin
Nibu babu thomas5-Jun-08 2:35
Nibu babu thomas5-Jun-08 2:35 
QuestionHow to show SIP in WinCE 5.0 ? S.O.S Pin
ttarantula5-Jun-08 0:48
ttarantula5-Jun-08 0:48 
QuestionHow to overcome this error... Pin
pl_kode5-Jun-08 0:36
pl_kode5-Jun-08 0:36 
AnswerRe: How to overcome this error... Pin
Jijo.Raj5-Jun-08 0:59
Jijo.Raj5-Jun-08 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.