Click here to Skip to main content
15,902,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Can i pass MFC Objects in between thread ? Pin
Stephen Hewitt12-Jan-06 23:41
Stephen Hewitt12-Jan-06 23:41 
AnswerRe: Can i pass MFC Objects in between thread ? Pin
Roger Stoltz12-Jan-06 23:45
Roger Stoltz12-Jan-06 23:45 
AnswerRe: Can i pass MFC Objects in between thread ? Pin
Prakash Nadar12-Jan-06 23:45
Prakash Nadar12-Jan-06 23:45 
AnswerRe: Can i pass MFC Objects in between thread ? Pin
ThatsAlok15-Jan-06 18:19
ThatsAlok15-Jan-06 18:19 
AnswerThank you everyone Pin
vikas amin16-Jan-06 1:10
vikas amin16-Jan-06 1:10 
Questionwprintf() could not display unicode chars which is > 255 to console? Pin
wangdave12-Jan-06 23:11
wangdave12-Jan-06 23:11 
QuestionHow to block a window ? Pin
leenmie12-Jan-06 22:50
leenmie12-Jan-06 22:50 
AnswerRe: How to block a window ? Pin
Stephen Hewitt12-Jan-06 23:49
Stephen Hewitt12-Jan-06 23:49 
AnswerRe: How to block a window ? Pin
Roger Stoltz13-Jan-06 0:00
Roger Stoltz13-Jan-06 0:00 
GeneralRe: How to block a window ? Pin
Stephen Hewitt13-Jan-06 0:14
Stephen Hewitt13-Jan-06 0:14 
GeneralRe: How to block a window ? Pin
leenmie13-Jan-06 0:44
leenmie13-Jan-06 0:44 
GeneralRe: How to block a window ? Pin
Stephen Hewitt13-Jan-06 1:06
Stephen Hewitt13-Jan-06 1:06 
AnswerRe: How to block a window ? Pin
Koushik Biswas13-Jan-06 13:51
Koushik Biswas13-Jan-06 13:51 
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 

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.