Add to FormCreate:
HWND HSYSMENU; long dw; form1-> height = 80; form1-> width = 250; form1-> left = screen-> width / 2; form1-> top = screen-> height / 3; hsysmenu = getSystemMenu (Form1- > WindowHandle, 0); RemoveMenu (hSysMenu, 4, 0x400); // cancel the menu system to maximize dw = GetWindowLong (Form1-> WindowHandle, -16); // Window styledw = dw & 0xFFFEFFFF; // Turn off maximize buttonSetWindowLong (Form1 -> WINDOWHANDLE, -16, DW);
There is a VB article in MSDN.
I turn it into BCB