In the form header, declare a WndProc() procedure as follows:
virtual void __fastcall WndProc(TMessage &Msg);
|
In the source file, implement the procedure as
follows:
//---------------------------------------------------------------------------
void __fastcall TForm1::WndProc(TMessage &Msg)
{
switch(Msg.Msg)
{
case WM_GETMINMAXINFO:
LPMINMAXINFO lpMMI;
lpMMI = reinterpret_cast<LPMINMAXINFO>(Msg.LParam);
lpMMI->ptMaxTrackSize.y = 110;
break;
}
TForm::WndProc(Msg);
}
//---------------------------------------------------------------------------
|
|