I'm trying to fix some behaviour related to Samurize, a program to 
display system information. I'm running it as a bar above the 
taskbar, however, when resolution changes (when I start a game for 
example) it messes up (changes position, doesn't reserve its screen 
space anymore). Also maximized windows aren't maximized over the 
whole screen, but are resized to a smaller area (still in maximized 
window state though)

Now what I'm doing is using the HookWindowEvents list and a script 
which is supposed to set the desktop work area and reposition the 
samurize window. Right now I'm trying to check for the size of 
maximized window, by iterating over all windows. However, I'm getting 
errors on the maxable and maxxed functions on some handles (like 
powerpro bars, the samurize client and some others, i.e. those that 
don't act like "real windows", with close, max, min buttons etc).
I'm trying to filter those out, but I'm wondering why I'm getting 
errors there anyway. Here's my current script: http://rafb.net/p/
styTlt72.html

Any ideas?

Reply via email to