First post updated, added 5px frame fix, thanks for info about fix going to
Cuttlas
Info about fix:
Code:
{$SETPEOSVERSION 6.0}
{$SETPESUBSYSVERSION 6.0}
if required Windows version is old (6.0), then GetWindowRect and GetClientRect functions works not correctly under new Windows versions