I did enable the visual styles using this code:
void EnableVisualStyles2(void) { TCHAR dir[MAX_PATH] = {0}; GetSystemDirectory(dir, sizeof(dir) / sizeof(*