switch (Message)
{
  case WM_QUERYTRACKINFO: 
    PTRACKINFO Track_info = (PTRACKINFO) MP2;
    Track_info->ptlMaxTrackSize.x = Bitmap.Size.cx + Border.cx;
    Track_info->ptlMaxTrackSize.y = Bitmap.Size.cy + Border.cy;
  return 1;

  default:
    CLASSINFO Class_info = {0}; WinQueryClassInfo (WinQueryAnchorBlock (Window), WC_FRAME, &Class_info);

    if (Class_info.pfnWindowProc) return *Class_info.pfnWindowProc (Window, Message, MP1, MP2);
  return 0;
}