Question

this is my first post on this website,

Anyway, I recently started trying to make a win32 app, and its been going well so far. Then I wanted to add aero to my app (as in not just the borders). So I looked it up online and one tutorial said I have to include dwmapi.h. This is in the Windows SDK. I don't know how to add this to Code::Blocks. By the way, I am using MinGW as my compiler. Also I tried using the MSVC 10 (VS2010) compiler in Code::Blocks, but I got a bunch of errors when I tried to use it, relating to the compilers/linkers not being found.

Any help would be great.

Était-ce utile?

La solution 2

Never Mind, I figured it out. I updated to the nightly build of Code::Blocks and it had an easy preset to help me set up the SDK.

Autres conseils

Unless you want to do custom drawing of controls and theme interfaces, all you need to do to support the visual themes is to add the appropriate manifest.

If you want to extend Aero Glass into your client area, look at DwmExtendFrameIntoClientArea () and family. There are various articles and tutorials online about how to use it. I don't know specifics of using it with Code::Blocks though.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top