Subj : Using Prf* routines in wi To : MIKE RUSKAI From : Ian Moote Date : Fri Jul 28 2000 01:49 pm Sorry for the lengthy delay. My host was down for a couple of weeks, then I got busy here in the shop and in my personal life. MR> Sort of. The window procedure should do everything necessary to MR> maintain the window itself, short of long paints (which should be MR> done on a separate thread), and dispatch threads for the real work. MR> Ideally, that is. MR> MR> One way of making that easier is to set up a second message queue, MR> that doesn't have a window associated with it, which receives all MR> messages from the main window procedure via WinPostMsg() that aren't MR> to be done in that main procedure. That would also require its own thread to process the messages on the second queue? Would I be correct in understanding that this is just a "technique" thing, something that you would do just to give the program more structure so that it behaves in a more logical fashion, but which does not really benefit the user of the program in a noticeable or practical way? (I'm not trying to sound critical here, just trying to understand where the suggestion is coming from.) Take care and TTYL. --- þþ Win'9x: 32-bit beauty that's only skin-deep. --- AdeptXBBS v1.11y (FREEWare/2) * Origin: Moote Pointe (1:244/140) .