I’m trying to make a button but it always looks like windows 95 flat button. How do I make it look vista style?
hWndEdit = CreateWindowA("button", "Test",
WS_CHILD | WS_VISIBLE | BS_DEFPUSHBUTTON,
100, 20, 140, 20, hWnd, NULL, NULL, NULL);
Where ami I going wrong?
Thanks
It can only look Vista style in Vista, mind you. Your application must also embed a manifest as per http://msdn.microsoft.com/en-us/library/aa289524(v=VS.71).aspx to enable visual styles.