I need to resize a window larger than screen resolution or size of desktop, programmatically & preferably also manually.
Since MS-Windows XP/Vista disallows a wi
You can do something like the following code in your WinProc();
case WM_GETMINMAXINFO:
{
LPMINMAXINFO lpmmi = (LPMINMAXINFO)lParam;
GetWindowRect(GetDesktopWindow(), &actualDesktop);
lpmmi->ptMaxTrackSize.x = 3000;// set the value that you really need.
lpmmi->ptMaxTrackSize.y = 3000;// set the value that you really need.
}
break;
An application can use this message to override the window's default maximized size and position, or its default minimum or maximum tracking size.