创建不规则窗体 // 设置窗口大小为图片大小 this->Width = Image1->Width; this->Height = Image1->Height; POINT *a; if((a=(POINT*)malloc(800*4*(sizeof(POINT))))==NULL) { ShowMessage("分配内存失败"); exit(0); } int left=0;