This occurs when you use a theme "nonstandard" with XP or Vista (eg
Vista Inspirat Pack).
It is very difficult to find a reliable method to obtain the size of the buttons (Reduce, Enlarge, Close) of a window in this case. If you have the solution, let me know !
The solution to this problem is to "manually" correct the size and position of minimize to tray button.
In the file
Remember.ini, section
[Pos], you can specify the following values :
BtnLeft=...
BtnTop=...
BtnWidth=...
BtnHeight=...
...followed by a pixel value, eventually negative for positions.