I can't seem to find anything in Petzold's Programming Windows 5th Edition, so I come here for help. I need to implement a trackbar, menu, and command link into a Code::Blocks project of mine. My setup is Win7 x64 with Code::Blocks + MinGW. Any code samples for MinGW out there in your mind or computer?
The code samples you require are not for a specific compiler. These usually work on every windows compiler, be it Visual Studio cl.exe or MinGW g++.exe.
I do recommend you to use MinGW-w64 as your compiler, as it comes with updated headers and can create both 32 and 64 bit binaries: http://www.tdragon.net/recentgcc/
It integrates nicely with Code::Blocks (use latest one from SVN).