#include
long CALLBACK wndproc(HWND hwnd,ui msg,ui wp,long lp)
{
return DefWindowProc(hwnd,msg,wp,lp);
}
int main()
{
MSG msg;
WNDCLASS wc;
ZeroMemory(&wc, sizeof(wc));
wc.lpszClassName="z";
wc.lpfnWndProc=wndproc;
wc.hInstance=GetModuleHandle(0);
RegisterClass(&wc);
HWND wnd=CreateWindow("z","z",WS_OVERLAPPEDWINDOW,289,232,264,216,0,0,wc.hInstance,0);
ShowWindow(wnd,SW_SHOW);
while(GetMessage(&msg,0,0,0))
DispatchMessage(&msg);
return 0;
}