Bug: Iex Places Small Windows Under The Start Menu

Hi siwu,

Very cool start to a cool looking applet. I found an interesting bug though. Here is the recipe:

1) place your Start Menu on the left right or top of the screen.

2) make the start menu doubly wide

3) lock the start menu

4) hit F9 to tile all your active windows

Expected results: windows are tiled in the available desktop space

Actual results: windows get tiled behind the start menu

You can use the following code for the fix (if you wanna fix it :) ):

RECT deskrc;

if (!SystemParametersInfo( SPI_GETWORKAREA, 0, &deskrc, 0 )

GetDesktopWindow()->GetWindowRect((LPRECT)&deskrc);

SPI_GETWORKAREA will give you the available desktop space, which accounts for the start menu. If this fails for some reason it defaults back to GetDesktopWindow()->GetWindwoRect(...) which is what you are probably using now.

This looks like a great app, can't wait to see what happens with it.

-Nick

#117028

Oops,

I had meant to put this in the bugs topic :(. Sorry about that.

-NIck

#117031

Thanks for finding this bug and to provide a work around :)

Unforntunately, iEx is not supported anymore, because we are starting working on expire, the new generation of Exposé clones :)

But thanks anyway :)

#117053