![]() ![]() PeekMessage(&msg,NULL,NULL,NULL,PM_REMOVE) Hwnd = CreateWindowEx(NULL, //extended styleĭone = false //initialize loop condition variable *Ĝlass registerd, so now create window*/ WindowClass.hIconSm = LoadIcon(NULL, IDI_WINLOGO) WindowClass.hbrBackground = (HBRUSH)GetStockObject(WHITE_BRUSH) WindowClass.hCursor = LoadCursor(NULL, IDC_ARROW) WindowClass.hIcon = LoadIcon(NULL, IDI_APPLICATION) WindowClass.style = CS_HREDRAW | CS_VREDRAW Int APIENTRY WinMain(HINSTANCE hInstance,īool done //flag saying when app is complete ![]() ![]() Return (DefWindowProc(hwnd,message,wParam,lParam)) * Switch message, condition that is met will execute*/ LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) #pragma comment(linker, "/subsystem:windows")
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |