int WindowResizeProc(int handle, int msg, int wParam, int lParam)
{
if (msg == OS.WM_GETMINMAXINFO && window.isThemeInstalled())
{
Rectangle bound = window.getShell().getDisplay().getPrimaryMonitor().getBounds();
MINMAXINFO info = new MINMAXINFO();
Extension.MoveMemory(info, lParam, MINMAXINFO.sizeof);
if (info.ptMaxSize_x > 0 && info.ptMaxSize_y > 0)
{
Rectangle rect = org.sf.feeling.swt.win32.extension.shell.Windows
.getWindowRect(org.sf.feeling.swt.win32.extension.shell.Windows