Your link does say to use SendMessage, though it doesn't talk about not using PostMessage. It looks like my reference (http://tinyurl.com/4rjgx) refers to Windows CE but I've read the same thing (not to use PostMessage for WM_COPYDATA) in other places (http://tinyurl.com/56tn3, http://tinyurl.com/6zj3k), plus I can't see how using PostMessage would be safe in sharing data between applications.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Ehsan Akhgari > Sent: Monday, October 11, 2004 12:34 AM > To: [EMAIL PROTECTED] > Subject: RE: [msvc] CFileDialog > > > > Interesting, my MSDN docs *do* say so: > > "WM_COPYDATA > > An application sends the WM_COPYDATA message to pass data to another > > application. > > > > To send this message, call the SendMessage function with > the following > > parameters (do not call the PostMessage function)." > > > > Anyway, I do get your point about using SendMessageTimeout. Thanks. > > My local MSDN docs do not contain that statement. Just to be sure, I > checked the online version at > http://msdn.microsoft.com/library/en-us/winui/winui/windowsuse rinterface/dat aexchange/datacopy/datacopyreference/datacopymessages/wm_copydata.asp, and that didn't contain this statement either. Which MSDN are you looking at? ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [EMAIL PROTECTED] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] Light without eyes illuminates nothing. _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive. _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
