Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C question: passing an 2D array for modifying Pin
Christian Graus7-Aug-05 16:57
protectorChristian Graus7-Aug-05 16:57 
GeneralRe: C question: passing an 2D array for modifying Pin
Jose Lamas Rios7-Aug-05 18:46
Jose Lamas Rios7-Aug-05 18:46 
GeneralRe: C question: passing an 2D array for modifying Pin
bouli8-Aug-05 0:28
bouli8-Aug-05 0:28 
GeneralRe: C question: passing an 2D array for modifying Pin
sunit57-Aug-05 18:21
sunit57-Aug-05 18:21 
GeneralRe: C question: passing an 2D array for modifying Pin
David Crow8-Aug-05 8:34
David Crow8-Aug-05 8:34 
GeneralWM_CHAR and eating keystrokes Pin
Luther Baker7-Aug-05 10:59
Luther Baker7-Aug-05 10:59 
GeneralRe: WM_CHAR and eating keystrokes Pin
PJ Arends7-Aug-05 12:09
professionalPJ Arends7-Aug-05 12:09 
GeneralRe: WM_CHAR and eating keystrokes Pin
Luther Baker7-Aug-05 17:39
Luther Baker7-Aug-05 17:39 
Ahh ... nice suggestion!

I am not using WTL per se, but my own OO framework. I mimic several parts of the WTL including THUNKING the wndproc - but I've not worried about the PreTranslateMessage mechanism ... till now.

So, conceptually, I don't want to translate WM_KEYDOWN to the WM_CHAR if it is a tab character ... I will read up - but I am guessing that PreTranslateMessage leads to TranslateMessage unless you return 0 or something like that ...

I wonder if I can also change the keydown here as well ...

At any rate, I think your point is ... I need to intercept the message before calling TranslateMessage - and the WTL lib provides an easy way to do this on a per HWND basis. Seems like alot of overhead ... does the MFC or WTL message loop call PreTranslateMessage for EVERY window class object?

Thanks,

-Luther
GeneralRe: WM_CHAR and eating keystrokes Pin
Luther Baker7-Aug-05 18:24
Luther Baker7-Aug-05 18:24 
Generalvector doesn't work - won't load Pin
Larry Mills Sr7-Aug-05 9:34
Larry Mills Sr7-Aug-05 9:34 
GeneralRe: vector doesn't work - won't load Pin
Shog97-Aug-05 12:03
sitebuilderShog97-Aug-05 12:03 
GeneralRe: vector doesn't work - won't load Pin
Larry Mills Sr8-Aug-05 15:45
Larry Mills Sr8-Aug-05 15:45 
GeneralRe: vector doesn't work - won't load Pin
Christian Graus7-Aug-05 13:52
protectorChristian Graus7-Aug-05 13:52 
GeneralRe: vector doesn't work - won't load Pin
Larry Mills Sr8-Aug-05 15:32
Larry Mills Sr8-Aug-05 15:32 
Generalusing namespace in a c++ dll Pin
MihaiChioariu7-Aug-05 9:33
MihaiChioariu7-Aug-05 9:33 
GeneralBoost + regex Pin
Jack Puppy7-Aug-05 7:47
Jack Puppy7-Aug-05 7:47 
GeneralSNMP: Urgent help needed Pin
Mukhan7-Aug-05 6:27
Mukhan7-Aug-05 6:27 
GeneralRegarding thumb recognition Pin
Pearlking7-Aug-05 4:40
Pearlking7-Aug-05 4:40 
GeneralRe: Regarding thumb recognition Pin
Maximilien7-Aug-05 5:16
Maximilien7-Aug-05 5:16 
General2 vc7 problems..and 1 question Pin
YaronNir7-Aug-05 4:38
YaronNir7-Aug-05 4:38 
GeneralRe: 2 vc7 problems..and 1 question Pin
toxcct7-Aug-05 8:43
toxcct7-Aug-05 8:43 
GeneralRe: 2 vc7 problems..and 1 question Pin
YaronNir7-Aug-05 20:08
YaronNir7-Aug-05 20:08 
Generaldbf odbc Pin
_tasleem7-Aug-05 3:23
_tasleem7-Aug-05 3:23 
GeneralRe: dbf odbc Pin
David Crow8-Aug-05 8:37
David Crow8-Aug-05 8:37 
GeneralRe: dbf odbc Pin
_tasleem10-Aug-05 12:28
_tasleem10-Aug-05 12:28 

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.