Click here to Skip to main content
15,895,538 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCapture all keyboard input inside a dialog Pin
kevincwong12-Jan-06 22:38
kevincwong12-Jan-06 22:38 
AnswerRe: Capture all keyboard input inside a dialog Pin
Stephen Hewitt12-Jan-06 23:50
Stephen Hewitt12-Jan-06 23:50 
AnswerRe: Capture all keyboard input inside a dialog Pin
Rajesh R Subramanian13-Jan-06 0:31
professionalRajesh R Subramanian13-Jan-06 0:31 
GeneralRe: Capture all keyboard input inside a dialog Pin
kevincwong13-Jan-06 6:02
kevincwong13-Jan-06 6:02 
GeneralRe: Capture all keyboard input inside a dialog Pin
James R. Twine13-Jan-06 6:24
James R. Twine13-Jan-06 6:24 
GeneralRe: Capture all keyboard input inside a dialog Pin
kevincwong13-Jan-06 7:03
kevincwong13-Jan-06 7:03 
GeneralRe: Capture all keyboard input inside a dialog Pin
James R. Twine13-Jan-06 7:12
James R. Twine13-Jan-06 7:12 
GeneralRe: Capture all keyboard input inside a dialog Pin
Rajesh R Subramanian13-Jan-06 18:51
professionalRajesh R Subramanian13-Jan-06 18:51 
Hi Kevin,

When some key is pressed, the value that arrives at
pMsg->wParam
will be equal to the Virtual Key code of that particular key. Please look up MSDN for more details about Virtual Key Codes. Say, for example, when the 'p' key is pressed, the value that arrives will be equal to
VK_P
which is the virtual key code of that key. If you need to know upper/lowercase detail too, use the
GetKeyState()
function to know if shift key is pressed or if CAPS LOCK is turned on.

Please let me know if this solved your problem.

Regards,
Rajesh R. Subramanian

You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.

GeneralRe: Capture all keyboard input inside a dialog Pin
kevincwong15-Jan-06 18:21
kevincwong15-Jan-06 18:21 
AnswerRe: Capture all keyboard input inside a dialog Pin
Anilkumar K V13-Jan-06 0:43
Anilkumar K V13-Jan-06 0:43 
QuestionStrange Question about GetNamedSecurityInfo() API to retrieve DACL of a network share folder Pin
wangdave12-Jan-06 22:37
wangdave12-Jan-06 22:37 
AnswerRe: Strange Question about GetNamedSecurityInfo() API to retrieve DACL of a network share folder Pin
Blake Miller17-Jan-06 7:35
Blake Miller17-Jan-06 7:35 
Questionhow to restrict access to a folder Pin
egrpbala12-Jan-06 22:36
egrpbala12-Jan-06 22:36 
AnswerRe: how to restrict access to a folder Pin
leenmie12-Jan-06 23:28
leenmie12-Jan-06 23:28 
AnswerRe: how to restrict access to a folder Pin
Sebastian Schneider12-Jan-06 23:55
Sebastian Schneider12-Jan-06 23:55 
QuestionHow to get hold of the scrollbar in a frame. Pin
Owner drawn12-Jan-06 22:15
Owner drawn12-Jan-06 22:15 
QuestionCould not open pipe when testing named pipe Pin
MagnusO12-Jan-06 22:09
MagnusO12-Jan-06 22:09 
AnswerRe: Could not open pipe when testing named pipe Pin
kakan12-Jan-06 22:26
professionalkakan12-Jan-06 22:26 
QuestionHow to start and stop an application Pin
nripun12-Jan-06 22:00
nripun12-Jan-06 22:00 
AnswerRe: How to start and stop an application Pin
Roger Stoltz12-Jan-06 22:34
Roger Stoltz12-Jan-06 22:34 
GeneralRe: How to start and stop an application Pin
Anilkumar K V13-Jan-06 0:46
Anilkumar K V13-Jan-06 0:46 
GeneralRe: How to start and stop an application Pin
Roger Stoltz13-Jan-06 1:24
Roger Stoltz13-Jan-06 1:24 
QuestionWhat is the difference b/w Debug and Release Pin
birajendu12-Jan-06 21:17
birajendu12-Jan-06 21:17 
AnswerRe: What is the difference b/w Debug and Release Pin
Prakash Nadar12-Jan-06 21:38
Prakash Nadar12-Jan-06 21:38 
AnswerRe: What is the difference b/w Debug and Release Pin
toxcct12-Jan-06 21:38
toxcct12-Jan-06 21:38 

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.