Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow solve this debug erro? Pin
benben25-Dec-03 3:56
benben25-Dec-03 3:56 
AnswerRe: how solve this debug erro? Pin
Robert Kuster25-Dec-03 4:22
Robert Kuster25-Dec-03 4:22 
Generalthanks a lot Pin
benben28-Dec-03 20:31
benben28-Dec-03 20:31 
QuestionHow to detect network adapter status in windows2000/xp? Pin
hpudx24-Dec-03 22:02
hpudx24-Dec-03 22:02 
AnswerRe: How to detect network adapter status in windows2000/xp? Pin
valikac25-Dec-03 7:09
valikac25-Dec-03 7:09 
QuestionSaving Files in Win2000 as normal-user? Pin
fbaumgaertel24-Dec-03 21:21
fbaumgaertel24-Dec-03 21:21 
AnswerRe: Saving Files in Win2000 as normal-user? Pin
valikac25-Dec-03 7:10
valikac25-Dec-03 7:10 
GeneralChanging Windows Fonts Pin
vivek_mastishk24-Dec-03 21:01
vivek_mastishk24-Dec-03 21:01 
GeneralRe: Changing Windows Fonts Pin
Selvam R25-Dec-03 10:50
professionalSelvam R25-Dec-03 10:50 
QuestionAdd help button to dialog? Pin
xxhimanshu24-Dec-03 19:14
xxhimanshu24-Dec-03 19:14 
AnswerRe: Add help button to dialog? Pin
PJ Arends25-Dec-03 9:26
professionalPJ Arends25-Dec-03 9:26 
GeneralCalling functions in a C# dll from C++ code Pin
Member 78143724-Dec-03 17:02
Member 78143724-Dec-03 17:02 
GeneralRe: Calling functions in a C# dll from C++ code Pin
wb24-Dec-03 18:33
wb24-Dec-03 18:33 
GeneralStop keyevents and mesages Pin
Jarek G24-Dec-03 16:45
Jarek G24-Dec-03 16:45 
GeneralRe: Stop keyevents and mesages Pin
Monty224-Dec-03 20:08
Monty224-Dec-03 20:08 
GeneralRe: Stop keyevents and mesages Pin
Robert Kuster24-Dec-03 21:53
Robert Kuster24-Dec-03 21:53 
First, check this: Typename, Disabling Keys in Windows XP with TrapKeys[^]

> ...the main purpose is to lockout children from windows system
I'm not quite sure if this is an option, but in WinXP you could simply add a new account and start your program instead of explorer.exe. Go to:
Start -> Run -> gpedit.msc -> Administrative Templates -> System -> Custom User Interface

This way most of the Windows hotkeys will go away for free. But two of them will stay: Ctrl-Shift-Esc and Ctrl-Alt-Del (both are intercepted by Winlogon). To get rid of them you could either disable Task Manager (gpedit.msc -> Administrative Templates -> System -> Ctrl+Alt+Del Options). If you are happy with the notification message that pops up when pressing those hotkeys thereafter, then you are all done. If not, or if you simply need complete control over those hotkeys, you have to write a replacement for msGina.dll (search for GINASTUB in MSDN as a starter example; unfortunately the sources were thrown out of MSND .NET, so you'll have to stick with the Visual Studio 6.0 version). In your custom GINA:

1) Gobble WlxStartApplication in order to disable Ctrl-Shift-Esc.

2) To handle Ctrl-Alt-Del either gobble WlxLoggedOnSAS (you get an ugly flicker) or call
DWORD    dwOld;
pWinlogonFunctions->WlxSetOption( hWlx, WLX_OPTION_USE_CTRL_ALT_DEL, 0, &dwOld );
(now the screen-saver won't be started anymore).

Isn't it always true: You get something but in the same moment you lose something else. Smile | :)

RK
GeneralRe: Stop keyevents and mesages Pin
Anonymous25-Dec-03 11:25
Anonymous25-Dec-03 11:25 
GeneralUnknown warnings Pin
Burl D24-Dec-03 15:11
Burl D24-Dec-03 15:11 
GeneralRe: Unknown warnings Pin
PJ Arends24-Dec-03 17:02
professionalPJ Arends24-Dec-03 17:02 
GeneralRe: Unknown warnings Pin
Burl D25-Dec-03 5:06
Burl D25-Dec-03 5:06 
QuestionTrouble with Open File dialog? Pin
gamerPotatoe24-Dec-03 10:25
gamerPotatoe24-Dec-03 10:25 
AnswerRe: Trouble with Open File dialog? Pin
kjessee24-Dec-03 10:42
kjessee24-Dec-03 10:42 
GeneralRe: Trouble with Open File dialog? Pin
gamerPotatoe24-Dec-03 10:58
gamerPotatoe24-Dec-03 10:58 
GeneralRe: Trouble with Open File dialog? Pin
kjessee24-Dec-03 11:12
kjessee24-Dec-03 11:12 
GeneralTHanks! Need a little help with CString Pin
gamerPotatoe24-Dec-03 19:24
gamerPotatoe24-Dec-03 19:24 

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.