Click here to Skip to main content
15,903,856 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Mouse XY coordinates are changing slightly when Left MouseButton is pressed Pin
sdancer7515-Sep-08 21:35
sdancer7515-Sep-08 21:35 
QuestionEquation Solver Pin
Hadi Dayvary13-Sep-08 1:01
professionalHadi Dayvary13-Sep-08 1:01 
AnswerRe: Equation Solver Pin
CPallini13-Sep-08 1:08
mveCPallini13-Sep-08 1:08 
GeneralRe: Equation Solver Pin
Sauce!13-Sep-08 15:49
Sauce!13-Sep-08 15:49 
GeneralRe: Equation Solver Pin
CPallini13-Sep-08 20:58
mveCPallini13-Sep-08 20:58 
QuestionHeadings on Dialog box Pin
GPat2413-Sep-08 0:24
GPat2413-Sep-08 0:24 
AnswerRe: Headings on Dialog box Pin
CPallini13-Sep-08 0:48
mveCPallini13-Sep-08 0:48 
QuestionPlugins in MFC Pin
Le@rner12-Sep-08 23:58
Le@rner12-Sep-08 23:58 
AnswerRe: Plugins in MFC Pin
SandipG 13-Sep-08 0:07
SandipG 13-Sep-08 0:07 
AnswerRe: Plugins in MFC Pin
Hamid_RT13-Sep-08 21:54
Hamid_RT13-Sep-08 21:54 
GeneralRe: Plugins in MFC Pin
Le@rner14-Sep-08 18:11
Le@rner14-Sep-08 18:11 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 1:53
Hamid_RT15-Sep-08 1:53 
GeneralRe: Plugins in MFC Pin
Le@rner15-Sep-08 1:56
Le@rner15-Sep-08 1:56 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 2:04
Hamid_RT15-Sep-08 2:04 
GeneralRe: Plugins in MFC Pin
Le@rner15-Sep-08 2:07
Le@rner15-Sep-08 2:07 
GeneralRe: Plugins in MFC Pin
Hamid_RT15-Sep-08 2:11
Hamid_RT15-Sep-08 2:11 
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 

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.