Click here to Skip to main content
15,908,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why TranslateAccelerator fails only in release mode ? Pin
CPallini26-Mar-08 1:24
mveCPallini26-Mar-08 1:24 
GeneralRe: Why TranslateAccelerator fails only in release mode ? Pin
sdancer7527-Mar-08 22:10
sdancer7527-Mar-08 22:10 
GeneralPostMessage to a different thread's messageQueue Pin
snir_ya26-Mar-08 1:04
snir_ya26-Mar-08 1:04 
QuestionRe: PostMessage to a different thread's messageQueue Pin
CPallini26-Mar-08 1:18
mveCPallini26-Mar-08 1:18 
GeneralRe: PostMessage to a different thread's messageQueue Pin
snir_ya26-Mar-08 1:37
snir_ya26-Mar-08 1:37 
GeneralRe: PostMessage to a different thread's messageQueue Pin
snir_ya26-Mar-08 1:43
snir_ya26-Mar-08 1:43 
QuestionRe: PostMessage to a different thread's messageQueue Pin
CPallini26-Mar-08 2:53
mveCPallini26-Mar-08 2:53 
GeneralRe: PostMessage to a different thread's messageQueue Pin
snir_ya26-Mar-08 3:24
snir_ya26-Mar-08 3:24 
Thanks for your reply.

1.
Yes, CComManager is mine. In my code it returns the HWND of the (login) dialog that called the working thread.
The (login) dialog was intialized by the main thread. The working thread needs to post a message to this dialog. But all the messages sent by the working thread are lost.

2.
It's a win32 application. How do i get the Main window handle?

Thanks again for your help.

Snir_ya.
GeneralRe: PostMessage to a different thread's messageQueue Pin
CPallini26-Mar-08 4:08
mveCPallini26-Mar-08 4:08 
GeneralRe: PostMessage to a different thread's messageQueue Pin
rp_suman26-Mar-08 4:56
rp_suman26-Mar-08 4:56 
GeneralDrawing text with DirectDraw Pin
Hanan88826-Mar-08 0:43
Hanan88826-Mar-08 0:43 
GeneralRe: Drawing text with DirectDraw Pin
James R. Twine26-Mar-08 1:45
James R. Twine26-Mar-08 1:45 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 1:51
Hanan88826-Mar-08 1:51 
AnswerRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 3:11
Hanan88826-Mar-08 3:11 
GeneralRe: Drawing text with DirectDraw Pin
James R. Twine26-Mar-08 4:58
James R. Twine26-Mar-08 4:58 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 5:39
Hanan88826-Mar-08 5:39 
GeneralRe: Drawing text with DirectDraw Pin
Stephen Hewitt26-Mar-08 13:54
Stephen Hewitt26-Mar-08 13:54 
GeneralRe: Drawing text with DirectDraw Pin
Hanan88826-Mar-08 22:39
Hanan88826-Mar-08 22:39 
General64 bit API Hooking Pin
San246826-Mar-08 0:01
San246826-Mar-08 0:01 
QuestionCan I draw in a RichEdit Control Pin
Desmond Mardle25-Mar-08 23:56
Desmond Mardle25-Mar-08 23:56 
AnswerRe: Can I draw in a RichEdit Control Pin
Rajasekharan Vengalil26-Mar-08 0:24
Rajasekharan Vengalil26-Mar-08 0:24 
Questiondifference between static_cast and dynamic cast? Pin
rowdy_vc++25-Mar-08 23:37
rowdy_vc++25-Mar-08 23:37 
AnswerRe: difference between static_cast and dynamic cast? Pin
Maxwell Chen25-Mar-08 23:46
Maxwell Chen25-Mar-08 23:46 
AnswerRe: difference between static_cast and dynamic cast? Pin
Cedric Moonen25-Mar-08 23:55
Cedric Moonen25-Mar-08 23:55 
AnswerRe: difference between static_cast and dynamic cast? Pin
CPallini26-Mar-08 0:05
mveCPallini26-Mar-08 0:05 

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.