怎样画圆
来源:百度知道 编辑:UC知道 时间:2024/09/28 12:42:50
是不是编程题?
#include <windows.h>
#include <stdio.h>
#include <math.h>
typedef struct
{
HWND *lphWnd;
DWORD dwExStyle; // extended window style
LPCTSTR lpClassName; // pointer to registered class name
LPCTSTR lpWindowName; // pointer to window name
DWORD dwStyle; // window style
int x; // horizontal position of window
int y; // vertical position of window
int nWidth; // window width
int nHeight; // window height
HMENU hMenu; // handle to menu, or child-window identifier
}childstru;
HANDLE hInst;
HFONT hFont;
HWND MainhWnd,button1,button2,button3,button4;
HDC mDc;
HBITMAP hbmp;
char *titletext="两种画圆算法",*classname="HeLiang";
BOOL InitApplication(HANDLE hInstance);
BOOL InitInstance(HANDLE hInstance,int nCmdShow)