12-05-2006, 03:25 PM
Are you sure it is related to multiple desktops? When VirtuaWin switches desktops, it moves windows 25000 pixels down and activates a window on the new desktop. ifi still finds windows on the old desktop.
Store window handles into global array and then repeatedly call IsWindow (instead of ifi).
Store window handles into global array and then repeatedly call IsWindow (instead of ifi).