c++ - How To Make Window Look More Modern -


i have created simple window using win32 api c++. window shows fine, however, there no styling , buttons , such on window appear in windows 95/me style oppose modern windows 7 look. so, how can modern look?

i have tried using xml ways stated in (http://msdn.microsoft.com/en-us/library/windows/desktop/bb773175%28v=vs.85%29.aspx) microsoft documentation program not compile. believe because using mingw compiler oppose vc++ compiler wrong. in addition, trying setwindowtheme function unsure how works , how include.

some notes may causing issue:

  • i not using ide, makefile
  • i using mingw compiler

the manifest file must incorporated resource in executable. that's vs automatically you; possible mingw too, it's little more convoluted. take @ this tutorial, in section "enabling visual styles".

although tutorial shows winxp look, don't worry; once visual styles enabled, they'll show native theme of machine.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -