> 
> One interesting notice: when I changed the Window's (big) icon using
> WM_SETICON, the corresponding active button remained unchanged if the
> class icon option checked. So, mere WM_SETICON doesn't update the
> class icons?


Correct, that is my understanding.

The class icon is set with RegisterClass and can be changed/retrieved 
with Get/SetClassLong.  I believe the Windows system caches this icon 
handle and requests to get it do not interact with the process owning 
the window.  On the other hand, WM_GETICON does send a message to the 
process's window to request its individual icon, and if it is 
unresponsive, this causes problems.  The timeout value on 
setup|advanced|limits is the timeout used for WM_GETICON requests if 
you do not check the Use Class Icon option.

I left some debug code in the beta; you can see which icon PowerPro is 
using with
exec.debug

Similarly, based on my bad results in trying to do timeouts on 
requests for text, I believe
GetWindowText 
does not go to the window but instead accesses a system-cached value, 
whereas WM_GETTTEXT does go to the window.  PowerPro now uses 
GetWindowText only for active window text.  This was the main change 
in 4.5.04e.











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