Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 19:02
Jose Lamas Rios6-Oct-05 19:02 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 19:37
LighthouseJ6-Oct-05 19:37 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 19:46
Jose Lamas Rios6-Oct-05 19:46 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 19:55
LighthouseJ6-Oct-05 19:55 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios6-Oct-05 20:01
Jose Lamas Rios6-Oct-05 20:01 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ6-Oct-05 20:16
LighthouseJ6-Oct-05 20:16 
GeneralRe: InvalidateRect and GDI Pin
Jose Lamas Rios7-Oct-05 3:28
Jose Lamas Rios7-Oct-05 3:28 
GeneralRe: InvalidateRect and GDI Pin
LighthouseJ7-Oct-05 4:15
LighthouseJ7-Oct-05 4:15 
This thread is a user-interface thread, I overrode CWinThread and pass the runtime class name to AfxBeginThread just as the documentation say you're supposed to do for a user-interface thread. I was trying to figure out a way to use messages but maybe I don't know as much as I need to.

I defined a message like:

#define WM_UPDATECHILD (WM_APP + 1)

And tried to create a handler function for that message but it would never be run. I tried to override PreTranslateMessage, OnCmdMsg, and OnCommand to intercept this message, handle it, then return a nonzero result to show it was handled and none of this worked. I just don't know what to do.
GeneralRe: InvalidateRect and GDI Pin
James Brown6-Oct-05 21:56
James Brown6-Oct-05 21:56 
QuestionMFC DLL question Pin
benjnp6-Oct-05 14:57
benjnp6-Oct-05 14:57 
AnswerRe: MFC DLL question Pin
Prakash Nadar6-Oct-05 15:44
Prakash Nadar6-Oct-05 15:44 
QuestionObjects Pin
kenexcelon6-Oct-05 14:10
kenexcelon6-Oct-05 14:10 
AnswerRe: Objects Pin
Prakash Nadar6-Oct-05 15:40
Prakash Nadar6-Oct-05 15:40 
AnswerRe: Objects Pin
Cedric Moonen6-Oct-05 20:39
Cedric Moonen6-Oct-05 20:39 
QuestionWhat's wrong in my code or in VS.NET2003 C++ compiler Pin
Zhaohui Xing (Joey)6-Oct-05 11:40
Zhaohui Xing (Joey)6-Oct-05 11:40 
AnswerRe: What's wrong in my code or in VS.NET2003 C++ compiler Pin
Christian Graus6-Oct-05 12:41
protectorChristian Graus6-Oct-05 12:41 
GeneralRe: What's wrong in my code or in VS.NET2003 C++ compiler Pin
Jose Lamas Rios6-Oct-05 18:55
Jose Lamas Rios6-Oct-05 18:55 
QuestionDebugging Media Center Pin
DNFSB6-Oct-05 10:10
DNFSB6-Oct-05 10:10 
QuestionBoost Pin
Ed K6-Oct-05 10:00
Ed K6-Oct-05 10:00 
AnswerRe: Boost Pin
Nemanja Trifunovic6-Oct-05 10:25
Nemanja Trifunovic6-Oct-05 10:25 
AnswerRe: Boost Pin
Joaquín M López Muñoz6-Oct-05 11:24
Joaquín M López Muñoz6-Oct-05 11:24 
Questionmotion capturing and rendering Pin
Ashwin Waghela6-Oct-05 8:56
Ashwin Waghela6-Oct-05 8:56 
AnswerRe: motion capturing and rendering Pin
Colonel Walter E. Kurtz6-Oct-05 11:47
Colonel Walter E. Kurtz6-Oct-05 11:47 
GeneralRe: motion capturing and rendering Pin
Gunnery Sergeant Hartman6-Oct-05 15:16
Gunnery Sergeant Hartman6-Oct-05 15:16 
GeneralRe: motion capturing and rendering Pin
Colonel Walter E. Kurtz6-Oct-05 15:29
Colonel Walter E. Kurtz6-Oct-05 15:29 

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.