Click here to Skip to main content
15,924,553 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL Questions Pin
Michael Dunn15-Jun-01 15:19
sitebuilderMichael Dunn15-Jun-01 15:19 
GeneralRe: STL Questions Pin
Christian Graus15-Jun-01 12:34
protectorChristian Graus15-Jun-01 12:34 
GeneralRe: STL Questions Pin
Mukkie16-Jun-01 0:23
Mukkie16-Jun-01 0:23 
GeneralRe: STL Questions Pin
skfnmuislædmufaæoi17-Jun-01 4:00
skfnmuislædmufaæoi17-Jun-01 4:00 
Questionstopping a service programatically? Pin
Joan M15-Jun-01 5:35
professionalJoan M15-Jun-01 5:35 
AnswerRe: stopping a service programatically? Pin
Tomasz Sowinski15-Jun-01 5:43
Tomasz Sowinski15-Jun-01 5:43 
AnswerRe: stopping a service programatically? Pin
Carlos Antollini15-Jun-01 5:46
Carlos Antollini15-Jun-01 5:46 
Generalfind the right header? the same code using MFC ok, but without it gets crashed Pin
Joan M15-Jun-01 5:29
professionalJoan M15-Jun-01 5:29 
Hello,

ENVIRONMENT:
Win2k
MVC++6 (sp.4)
simple WIN32 app: not MFC.

I would like to avoid the user to be able to press any "system key" (ALT+TAB, CTRL+SHIFT+ESC...).



I have a MFC application that does this very fine, but the problem I've found is that I get the keyboard controlled but I cannot ensure that the user won't use any of those keys while my application is being initialized. (it's slow because first I must wait for a service to start) (that app is an MFC one).



I've thought of trespassing the code that is now in my application to a service of my own in order to use the same but before the user has logged in.

The trouble is that I don't know how to avoid the error "undeclared identifier" with:

LPKBDLLHOOKSTRUCT and WH_KEYBOARD_LL (they are defined in winuser.h but I've added this header and nothing has changed)



could you give me an advice?



As always, thank you very much for your help.
GeneralRe: find the right header? the same code using MFC ok, but without it gets crashed Pin
Tomasz Sowinski15-Jun-01 5:35
Tomasz Sowinski15-Jun-01 5:35 
GeneralRe: find the right header? the same code using MFC ok, but without it gets crashed Pin
Joan M18-Jun-01 21:01
professionalJoan M18-Jun-01 21:01 
GeneralRe: find the right header? the same code using MFC ok, but without it gets crashed Pin
Tomasz Sowinski19-Jun-01 0:41
Tomasz Sowinski19-Jun-01 0:41 
GeneralRe: find the right header? the same code using MFC ok, but without it gets crashed Pin
Alvaro Mendez15-Jun-01 12:18
Alvaro Mendez15-Jun-01 12:18 
Generalusing dlls accross threads Pin
15-Jun-01 5:27
suss15-Jun-01 5:27 
GeneralRe: using dlls accross threads Pin
Mukkie16-Jun-01 0:29
Mukkie16-Jun-01 0:29 
Generalgetting at the icon info Pin
fup15-Jun-01 5:22
fup15-Jun-01 5:22 
GeneralRe: getting at the icon info Pin
Michael Dunn15-Jun-01 7:02
sitebuilderMichael Dunn15-Jun-01 7:02 
GeneralRe: getting at the icon info Pin
fup15-Jun-01 10:18
fup15-Jun-01 10:18 
GeneralRe: getting at the icon info Pin
Michael Dunn16-Jun-01 10:01
sitebuilderMichael Dunn16-Jun-01 10:01 
QuestionWindow in front of all other windows? Pin
Rickard Andersson2015-Jun-01 4:49
Rickard Andersson2015-Jun-01 4:49 
AnswerRe: Window in front of all other windows? Pin
Carlos Antollini15-Jun-01 5:04
Carlos Antollini15-Jun-01 5:04 
GeneralProtocol tracer: high performance output Pin
EiSl15-Jun-01 4:25
EiSl15-Jun-01 4:25 
GeneralRe: Protocol tracer: high performance output Pin
Tomasz Sowinski15-Jun-01 4:42
Tomasz Sowinski15-Jun-01 4:42 
Generalsettextcolor Pin
15-Jun-01 4:21
suss15-Jun-01 4:21 
GeneralRe: settextcolor Pin
Tomasz Sowinski15-Jun-01 4:29
Tomasz Sowinski15-Jun-01 4:29 
GeneralConverting RC scripts Pin
15-Jun-01 4:13
suss15-Jun-01 4:13 

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.