I'm trying to make a window with Windows API. Whenever I run my application, the buttons look like Windows 98 buttons. How do I make the buttons look like XP buttons on Windows XP and Win7 buttons on Windows 7?
My compiler is Mingw.
CreateWindowEx( 0, "BUTTON", "OK", WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON 10, 10, 50, 25, hwnd, (HMENU)com, hInstance, NULL );