Eagle
04-09-2006, 12:07 AM
Here is a tweak - fix for at App Runtime 'Window Height' that can be,
inconsistant across hardware, when Resize is enabled in App Settings
and when using the hidden global function g_OnGetMinMaxInfo()
example should bring consistancy in Application Display-Layout 'on resize' minimum height
across platforms and Hardware - tested on monitors of various size with same Os display res settings:
Startup Actions:
nAppRuntimeY = Window.GetSize(Application.GetWndHandle()).Height;
Defined in Global Functions:
--SAppMinMaxSize
function g_OnGetMinMaxInfo()
--min and max on resize of App window
tbAppSize = {};
tbAppSize.MinX = 640; --width
tbAppSize.MinY = nAppRuntimeY; --actual height at app runtime
tbAppSize.MaxX = 800;
tbAppSize.MaxY = 600;
return tbAppSize;
end
--EAppMinMaxSize
give it a whirl- test if you have several monitors - systems of differing Size
inconsistant across hardware, when Resize is enabled in App Settings
and when using the hidden global function g_OnGetMinMaxInfo()
example should bring consistancy in Application Display-Layout 'on resize' minimum height
across platforms and Hardware - tested on monitors of various size with same Os display res settings:
Startup Actions:
nAppRuntimeY = Window.GetSize(Application.GetWndHandle()).Height;
Defined in Global Functions:
--SAppMinMaxSize
function g_OnGetMinMaxInfo()
--min and max on resize of App window
tbAppSize = {};
tbAppSize.MinX = 640; --width
tbAppSize.MinY = nAppRuntimeY; --actual height at app runtime
tbAppSize.MaxX = 800;
tbAppSize.MaxY = 600;
return tbAppSize;
end
--EAppMinMaxSize
give it a whirl- test if you have several monitors - systems of differing Size