文件名称:windows 作业
文件大小:4KB
文件格式:CPP
更新时间:2013-06-03 09:51:57
简单 示例 指教
hdc = BeginPaint(hwnd,&ps); ::SelectObject(hdc,hPen); switch(choice) { case 1: ::SelectObject(hdc,hBrush1); choice = 2; break; case 2: ::SelectObject(hdc,hBrush2); choice = 3; break; case 3: ::SelectObject(hdc,hBrush3); choice = 1; break; } Ellipse(hdc,x,y,x + 100,y + 100);