> for(!mouseleft)
> hWnd.move(xmouse - nRect,ymouse - nRect)
> dll.call("StretchBlt|ui i i i i ui i i i i ui",;;+
> hDC_TT, 0, 0, nRect * 2, nRect * 2,;;+
> hDC_SC, xmouse - nRect/nZoom, ymouse - nRect/nZoom,;;+
> nRect/nZoom * 2, nRect/nZoom * 2, 0xCC0020)
> endfor
> 
> IMO, 100% CPU usage doesn't really matter in this case as I've 
never

OK, I see.  I thought there was a wait.for in it.  But 100% usage 
makes sense for a tight loop like the above.


> experienced any slow-down of the system. The only trouble was that
> couldn't do any other PP things concurrently: if I press a PP's
> hotkey, it's delayed until the loop ends, then executed. However,
> KeyTrap's hotkeys worked concurrently without any delay. Some kind 
of
> multi-threadness stuffs?


Possibly, although using a new thread to run a PowerPro command is 
not 100% reliable as PowerPro is not threadsafe internally, so there 
is a small possibility of random errors or crashes.








Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to