Click here to Skip to main content
15,887,256 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to block a window ? Pin
toxcct13-Jan-06 0:53
toxcct13-Jan-06 0:53 
GeneralRe: How to block a window ? Pin
leenmie13-Jan-06 2:15
leenmie13-Jan-06 2:15 
AnswerRe: How to block a window ? Pin
FarPointer13-Jan-06 3:47
FarPointer13-Jan-06 3:47 
AnswerRe: How to block a window ? Pin
Koushik Biswas13-Jan-06 13:55
Koushik Biswas13-Jan-06 13:55 
GeneralRe: How to block a window ? Pin
leenmie13-Jan-06 15:47
leenmie13-Jan-06 15:47 
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 
kevincwong wrote:
Capture all keyboard input inside a dialog


You can do this by overriding PreTranslateMessage

append this code inside your PreTranslateMessage handler.


if(pMsg->message == WM_KEYDOWN)
{
//now the key pressed is available in
//pMsg->wParam... store it in a string or
//character variable and write it to a file
}</code>


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
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 
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 

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.