Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help. Is multimap what I need? Pin
knapak30-Mar-05 10:50
knapak30-Mar-05 10:50 
AnswerRe: Please help. Is multimap what I need? Pin
Blake Miller30-Mar-05 4:23
Blake Miller30-Mar-05 4:23 
GeneralRe: Please help. Is multimap what I need? Pin
knapak30-Mar-05 10:50
knapak30-Mar-05 10:50 
GeneralProblem with SetWindowsHookEx() Pin
Dev57829-Mar-05 12:40
Dev57829-Mar-05 12:40 
GeneralRe: Problem with SetWindowsHookEx() Pin
Dev57830-Mar-05 3:57
Dev57830-Mar-05 3:57 
GeneralHINSTANCE requirement Pin
Luther Baker29-Mar-05 11:02
Luther Baker29-Mar-05 11:02 
GeneralRe: HINSTANCE requirement (partial answer only) Pin
David Nash30-Mar-05 14:09
David Nash30-Mar-05 14:09 
GeneralRe: HINSTANCE requirement (partial answer only) Pin
Luther Baker31-Mar-05 9:17
Luther Baker31-Mar-05 9:17 
Many Thanks David.

I have a built a very similar framework - but with templates. Mainly to get as far away from virtual tables as possible. Sometimes subclassing, sometimes superclassing ... but templates add a nice twist.

I've come across one or two articles on Thunking (a lengthy one here on codeproject) but it didn't seem to work perfectly in .NET.

I'm not an ASSEMBLER, and I was probably doing something incorrectly, but setting the callback function to the thunk wasn't properly executing and the application would freeze. I'm not especially fond of the GetWindowLongPtr method, but at least it works. I'm concerned that an application with windows containing several children - each one using GetWindowLongPtr approach is not going to scale well.

Of course that's relative - but c windows apps will always have that speed advantage. It'll probabaly work out just fine ... just trying to explore for a clean, fast solution.

Hoping the lack of HINSTANCE in the WNDCLASSEX doesn't come back to bite me.

Thanks again,

-Luther
GeneralRe: HINSTANCE requirement (partial answer only) Pin
David Nash31-Mar-05 20:28
David Nash31-Mar-05 20:28 
GeneralRepaint Dialogs Pin
HackPrince29-Mar-05 10:53
HackPrince29-Mar-05 10:53 
GeneralRe: Repaint Dialogs Pin
David Crow29-Mar-05 11:07
David Crow29-Mar-05 11:07 
GeneralRe: Repaint Dialogs Pin
HackPrince29-Mar-05 11:41
HackPrince29-Mar-05 11:41 
GeneralRe: Repaint Dialogs Pin
HackPrince29-Mar-05 11:43
HackPrince29-Mar-05 11:43 
GeneralRe: Repaint Dialogs Pin
David Crow30-Mar-05 5:19
David Crow30-Mar-05 5:19 
Generalmap keystroke to a string in wordpad application Pin
kristna29-Mar-05 9:09
kristna29-Mar-05 9:09 
GeneralRe: map keystroke to a string in wordpad application Pin
David Crow29-Mar-05 11:12
David Crow29-Mar-05 11:12 
GeneralRe: map keystroke to a string in wordpad application Pin
kristna30-Mar-05 10:22
kristna30-Mar-05 10:22 
GeneralRe: map keystroke to a string in wordpad application Pin
David Crow30-Mar-05 10:34
David Crow30-Mar-05 10:34 
GeneralRe: map keystroke to a string in wordpad application Pin
kristna1-Apr-05 8:53
kristna1-Apr-05 8:53 
GeneralHooking CoCreateInstance / CoGetClassObject Pin
peterchen29-Mar-05 5:06
peterchen29-Mar-05 5:06 
GeneralRe: Hooking CoCreateInstance / CoGetClassObject Pin
Michael Dunn29-Mar-05 5:35
sitebuilderMichael Dunn29-Mar-05 5:35 
GeneralRe: Hooking CoCreateInstance / CoGetClassObject Pin
Joel Lucsy29-Mar-05 13:03
Joel Lucsy29-Mar-05 13:03 
QuestionHow to compare two images using cximage Pin
Madhurya29-Mar-05 4:54
Madhurya29-Mar-05 4:54 
AnswerRe: How to compare two images using cximage Pin
Ted Ferenc29-Mar-05 5:23
Ted Ferenc29-Mar-05 5:23 
AnswerRe: How to compare two images using cximage Pin
Chris Losinger29-Mar-05 10:01
professionalChris Losinger29-Mar-05 10: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.