Subj : Using Prf* routines in wi To : VITUS JENSEN From : Ian Moote Date : Fri Jun 23 2000 04:23 pm Sorry for the delay. The feed's been down here for a couple of weeks. VJ> IM> What's the "1/10's rule"? TIA and TTYL. VJ> VJ> What's "TIA" and "TTYL"? "Thanks In Advance" and "Talk To You Later". [:) VJ> The "1/10's rule" is a rule of thumb when it comes to presentation VJ> manager programming. It says that your window procedure should VJ> return within 0.1s to keep the user interface responsive. VJ> VJ> The chosen interval comes from ancient ages when a 80486DX33 was a VJ> fast processor (and everyone used to those speeds) so today the rule VJ> should be formulated a little different. Let's try it: VJ> VJ> "You should not spend a considerable amount of time inside the VJ> window procedure. Don't use APIs which may block (as the duration VJ> of the block is not predictable in a multitasking system), don't VJ> access files or devices (access may fail and have a long timeout), VJ> and don't do lengthy operations (like filling a large listbox)." I've seen that kind of stuff mentioned before. And this is why all of those functions should be relegated to threads? So, really when you look at it, in nearly all cases the window procedure is little more than a thread dispatcher, which is why you want to try to keep it clear. Is that about right? Take care and TTYL. --- þ Change is good. Folding money is better. --- AdeptXBBS v1.11y (FREEWare/2) * Origin: Moote Pointe (1:244/140) .