How to change button appearance in win32 program?

am using codeblock 13:12 and Windows 7 . I tried to change the look of the buttons appearance and from http://www.cplusplus.com/forum/windows/48611/ i tried this

#pragma comment(linker,"\"/manifestdependency:type='win32' \name='Microsoft.Windows.Common-Controls'version='6.0.0.0' \processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
But it failed to change the button appearence. What am I missing?

I inserted the code before all
#include
closed account (E0p9LyTq)
For those of you how are wondering, just add this line to your compiler and it will make the buttons look like they are Windows Vista/7.

You are using Win 7, so using that #pragma preprocessor command is not working as you expect.
thnx for ur reply. so what am i supposed to do?
closed account (E0p9LyTq)
A place where I'd start if I wanted to learn how to change a button's appearance:

Custom Controls (Windows)
https://msdn.microsoft.com/en-us/library/windows/desktop/bb775501%28v=vs.85%29.aspx
that didn't help.
Topic archived. No new replies allowed.