Click here to Skip to main content
15,909,953 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralReceive and Send of CSocket Pin
microsoftcertificate11-May-05 17:33
sussmicrosoftcertificate11-May-05 17:33 
GeneralRe: Receive and Send of CSocket Pin
ThatsAlok11-May-05 20:12
ThatsAlok11-May-05 20:12 
GeneralHave some problem with String Type Pin
popo8411-May-05 17:33
popo8411-May-05 17:33 
GeneralRe: Have some problem with String Type Pin
Christian Graus11-May-05 17:43
protectorChristian Graus11-May-05 17:43 
QuestionHow to use IShellView Pin
wwhh39311-May-05 17:09
wwhh39311-May-05 17:09 
GeneralGet Frames from separate WebCams simultaneously.. Pin
Harviz11-May-05 15:56
Harviz11-May-05 15:56 
QuestionCan Create Windows with Different Threads? Pin
macauit11-May-05 15:08
macauit11-May-05 15:08 
AnswerRe: Can Create Windows with Different Threads? Pin
Blake Miller12-May-05 11:28
Blake Miller12-May-05 11:28 
Now I am confused. Are you using .NET or the Win32 API?

If you are using the Win32 API, yes, you can. I don't know about .NET to be able to answer your question.

What you might want to do is to call

MSG TheMsg;<br />
PeekMessage(&TheMsg, INVALID_HANDLE_VALUE, 0, 0, PM_NOREMOVE);


right away after creating a thread that will have use of messages (like a window or a thread that should respond to messages sent to it via PostThreadMessage) because the message queue for a thread does not exist until one of the message retrieval functions is called (GetMessage, PeekMessage, etc.)

Windows does not create a message queue for a thread unless the thread 'needs' it. This could be your problem.
GeneralDrawing on top of a CHtmlview Pin
rentzk11-May-05 14:20
rentzk11-May-05 14:20 
GeneralRe: Drawing on top of a CHtmlview Pin
khan++11-May-05 20:29
khan++11-May-05 20:29 
GeneralCode in article here does not compile Pin
xscarsdale11-May-05 13:40
xscarsdale11-May-05 13:40 
GeneralRe: Code in article here does not compile Pin
Christian Graus11-May-05 13:51
protectorChristian Graus11-May-05 13:51 
GeneralRe: Code in article here does not compile Pin
xscarsdale11-May-05 17:41
xscarsdale11-May-05 17:41 
GeneralGood school Pin
tom_dx11-May-05 13:22
tom_dx11-May-05 13:22 
Generalneed help with some template inheritance Pin
ian_the_conqoRooR11-May-05 10:44
ian_the_conqoRooR11-May-05 10:44 
GeneralRe: need help with some template inheritance Pin
Maxwell Chen11-May-05 16:52
Maxwell Chen11-May-05 16:52 
GeneralRe: need help with some template inheritance Pin
ian_the_conqoRooR12-May-05 3:06
ian_the_conqoRooR12-May-05 3:06 
GeneralI need help with xp styles Pin
neliocc11-May-05 9:22
neliocc11-May-05 9:22 
GeneralRe: I need help with xp styles Pin
David Crow11-May-05 10:22
David Crow11-May-05 10:22 
GeneralRe: I need help with xp styles Pin
neliocc11-May-05 15:00
neliocc11-May-05 15:00 
GeneralRe: I need help with xp styles Pin
ThatsAlok11-May-05 20:25
ThatsAlok11-May-05 20:25 
GeneralRe: I need help with xp styles Pin
neliocc11-May-05 21:06
neliocc11-May-05 21:06 
GeneralRe: I need help with xp styles Pin
ThatsAlok11-May-05 21:20
ThatsAlok11-May-05 21:20 
GeneralRe: I need help with xp styles Pin
David Crow12-May-05 1:53
David Crow12-May-05 1:53 
Questionhow to get the icon index by a file's extension Pin
NPDemon11-May-05 8:28
NPDemon11-May-05 8: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.