Click here to Skip to main content
16,009,407 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog bo shouldn't show up.. Pin
CPallini10-Apr-08 21:21
mveCPallini10-Apr-08 21:21 
GeneralRe: Dialog bo shouldn't show up.. Pin
_AnsHUMAN_ 10-Apr-08 21:21
_AnsHUMAN_ 10-Apr-08 21:21 
GeneralRe: Dialog bo shouldn't show up.. Pin
Stephen Hewitt10-Apr-08 22:39
Stephen Hewitt10-Apr-08 22:39 
GeneralRe: Dialog bo shouldn't show up.. Pin
David Crow11-Apr-08 5:14
David Crow11-Apr-08 5:14 
GeneralRe: Dialog bo shouldn't show up.. Pin
Hamid_RT12-Apr-08 5:34
Hamid_RT12-Apr-08 5:34 
GeneralEditor Pin
suhi10-Apr-08 18:00
suhi10-Apr-08 18:00 
QuestionRe: Editor Pin
David Crow11-Apr-08 5:23
David Crow11-Apr-08 5:23 
Generalmessage pump code for COM STA Pin
George_George10-Apr-08 16:21
George_George10-Apr-08 16:21 
Hello everyone,


1.

For message pump code for COM STA, my question is, we just need to copy and past the following code to STA owner thread, no need to implement any functions to handle msg (e.g. hidden window message handler)?

(I think no need and I think COM Runtime will plug-in a message handler for the hidden window, to process the msg and call related function automatically?)

MSG msg;
while (GetMessage (&msg, 0, 0, 0))
 DispatchMessage (&msg);


2.

If all the message pump code are common, why not COM automatically generates the code for all STA? Because some STA has the requirement of not handling in-coming calls from other apartment?


thanks in advance,
George
GeneralRe: message pump code for COM STA Pin
Stephen Hewitt10-Apr-08 17:27
Stephen Hewitt10-Apr-08 17:27 
GeneralRe: message pump code for COM STA Pin
George_George10-Apr-08 19:06
George_George10-Apr-08 19:06 
GeneralRe: message pump code for COM STA Pin
Stephen Hewitt10-Apr-08 19:08
Stephen Hewitt10-Apr-08 19:08 
GeneralRe: message pump code for COM STA Pin
George_George10-Apr-08 19:10
George_George10-Apr-08 19:10 
Generalassign none to COM thread model Pin
George_George10-Apr-08 15:51
George_George10-Apr-08 15:51 
GeneralRe: assign none to COM thread model Pin
Stephen Hewitt10-Apr-08 17:31
Stephen Hewitt10-Apr-08 17:31 
GeneralRe: assign none to COM thread model Pin
George_George10-Apr-08 19:09
George_George10-Apr-08 19:09 
GeneralRe: assign none to COM thread model Pin
Stephen Hewitt10-Apr-08 19:10
Stephen Hewitt10-Apr-08 19:10 
GeneralRe: assign none to COM thread model Pin
George_George10-Apr-08 19:15
George_George10-Apr-08 19:15 
GeneralMSXML deployment Pin
Dave Calkins10-Apr-08 12:53
Dave Calkins10-Apr-08 12:53 
GeneralRe: MSXML deployment [modified] Pin
bob1697211-Apr-08 18:47
bob1697211-Apr-08 18:47 
GeneralRemovePreviousVersions VS 2008 leaves previous version untouched Pin
ravenspoint10-Apr-08 8:08
ravenspoint10-Apr-08 8:08 
GeneralRe: RemovePreviousVersions VS 2008 leaves previous version untouched Pin
ravenspoint23-Apr-08 4:25
ravenspoint23-Apr-08 4:25 
QuestionHow to create shiny silver color for the background of the MFC dialog?? Pin
johndoelee10-Apr-08 5:31
johndoelee10-Apr-08 5:31 
GeneralRe: How to create shiny silver color for the background of the MFC dialog?? Pin
David Crow10-Apr-08 5:35
David Crow10-Apr-08 5:35 
GeneralRe: How to create shiny silver color for the background of the MFC dialog?? Pin
Hamid_RT12-Apr-08 5:32
Hamid_RT12-Apr-08 5:32 
QuestionStick with Crystal Reports of look for alternatives? Pin
Anders Gustafsson10-Apr-08 5:30
Anders Gustafsson10-Apr-08 5:30 

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.