Click here to Skip to main content
15,925,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question of AppBar (Shell Programming)---Emergency! Pin
GhostEx12-May-05 4:21
GhostEx12-May-05 4:21 
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 
I remember that in DotNet it is not allowed to create windows registered in one thread but to be created with a different thread.

When I do this with Win32Api, it works but with problems.
My sample used a second thread to create a button whose parent's the main window. It didn't display at all except that I added a MessageBox( modeless ) statement right after the window creation. The button works normal until I response to the messagebox.

I guess the messagebox could have involved a message loop in it such that the button could display normal if the messagebox existed.

Does anybody know the reason of this?
Is it possible to create windows with different threads?

Your help is appreciated.

AnswerRe: Can Create Windows with Different Threads? Pin
Blake Miller12-May-05 11:28
Blake Miller12-May-05 11:28 
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 

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.