Subj : Using Prf* routines in wi To : Ian Moote From : Vitus Jensen Date : Wed Jun 07 2000 05:55 pm Moin Ian, 04.06.00 11:16, Ian Moote wrote a message to VITUS JENSEN: HR>> VJ> Does anybody know whether Prf* routines are usable from HR>> VJ> inside a HR>> VJ> window proc? Do they block or violate the 1/10s rule in any HR>> VJ> other way? IM> What's the "1/10's rule"? TIA and TTYL. What's "TIA" and "TTYL"? The "1/10's rule" is a rule of thumb when it comes to presentation manager programming. It says that your window procedure should return within 0.1s to keep the user interface responsive. The chosen interval comes from ancient ages when a 80486DX33 was a fast processor (and everyone used to those speeds) so today the rule should be formulated a little different. Let's try it: "You should not spend a considerable amount of time inside the window procedure. Don't use APIs which may block (as the duration of the block is not predictable in a multitasking system), don't access files or devices (access may fail and have a long timeout), and don't do lengthy operations (like filling a large listbox)." By[t]e, Vitus --- * Origin: Request VRAID - Software RAID for OS/2! (2:2474/424.1) .