> I need WM_COPYDATA for a reason totally unrelated to the progress bar. > So I need an hWnd to SendMessage to for that. > I originally did the copydata to my main window, but it held up the > other application too often, especially when I was using breakpoints. > So, I made a thread with a very simple (and even always hidden) dialog > window which could receive the copydata.
If you have control on the other application, the simplest way to get rid of it hanging when you set a breakpoint is using PostMessage( ) instead of SendMessage( ). ------------- Ehsan Akhgari Farda Technology (http://www.farda-tech.com/) List Owner: [EMAIL PROTECTED] [ Email: [EMAIL PROTECTED] ] [ WWW: http://www.beginthread.com/Ehsan ] That which an age feels to be evil is usually an untimely after-echo of that which was formerly felt to be good - the atavism of an older ideal. -Beyond Good And Evil, F. W. Nietzsche _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
