Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Plugins in MFC Pin
Le@rner15-Sep-08 2:13
Le@rner15-Sep-08 2:13 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 2:27
Hamid_RT15-Sep-08 2:27 
QuestionConvertStringSecurityDescriptorToSecurityDescriptor( ) giving compilation error Pin
V K 212-Sep-08 23:02
V K 212-Sep-08 23:02 
AnswerRe: ConvertStringSecurityDescriptorToSecurityDescriptor( ) giving compilation error Pin
SandipG 12-Sep-08 23:53
SandipG 12-Sep-08 23:53 
Questionback color of a owner drawn list box Pin
Hadi Dayvary12-Sep-08 21:31
professionalHadi Dayvary12-Sep-08 21:31 
AnswerRe: back color of a owner drawn list box Pin
Joseph Marzbani12-Sep-08 22:01
Joseph Marzbani12-Sep-08 22:01 
GeneralRe: back color of a owner drawn list box Pin
Hadi Dayvary13-Sep-08 7:23
professionalHadi Dayvary13-Sep-08 7:23 
QuestionA question about TranslateMessage() Pin
Joseph Marzbani12-Sep-08 21:10
Joseph Marzbani12-Sep-08 21:10 
Hi masters!
-----------

Note the following remarks within MSDN about the above function:

1) WM_KEYDOWN and WM_KEYUP combinations produce a WM_CHAR message.
2) If the message is WM_KEYDOWN, WM_KEYUP, WM_SYSKEYDOWN, or WM_SYSKEYUP, the return
. value is nonzero, regardless of the translation.

But in my EXE, it returns 0 even though the message is WM_KEYDOWN or whatever else.

A background:
-------------

I'm writing a system-wide keyboard hook program, so that all key strokes are sent to
an EXE within a DLL (PostThreadMessage()) ...
But into the EXE, TranslateMessage is returning 0 all time ...
Questionuniversal marshaler and typelib Pin
George_George12-Sep-08 21:01
George_George12-Sep-08 21:01 
QuestionIDispatch and dispinterface Pin
George_George12-Sep-08 20:44
George_George12-Sep-08 20:44 
AnswerRe: IDispatch and dispinterface Pin
CPallini12-Sep-08 21:30
mveCPallini12-Sep-08 21:30 
GeneralRe: IDispatch and dispinterface Pin
George_George13-Sep-08 23:30
George_George13-Sep-08 23:30 
AnswerRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 2:03
Hamid_RT15-Sep-08 2:03 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 2:26
George_George15-Sep-08 2:26 
GeneralRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 2:36
Hamid_RT15-Sep-08 2:36 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 2:50
George_George15-Sep-08 2:50 
GeneralRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 2:54
Hamid_RT15-Sep-08 2:54 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 3:24
George_George15-Sep-08 3:24 
GeneralRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 3:35
Hamid_RT15-Sep-08 3:35 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 3:53
George_George15-Sep-08 3:53 
GeneralRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 4:38
Hamid_RT15-Sep-08 4:38 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 17:08
George_George15-Sep-08 17:08 
GeneralRe: IDispatch and dispinterface Pin
Hamid_RT15-Sep-08 19:52
Hamid_RT15-Sep-08 19:52 
GeneralRe: IDispatch and dispinterface Pin
George_George15-Sep-08 20:22
George_George15-Sep-08 20:22 
Questionset font size of static text......... Pin
ani_ikram12-Sep-08 18:07
ani_ikram12-Sep-08 18:07 

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.