Jonhy Z Z wrote:
Hello, new guy here, love the project and all of that :)

I think I might have found a bug in the API.
If I compile a very simple example that just printf()s the I_IMAGENONE macro (declared on commctrl.h, which I'm of course including)
I simple get a "`I_IMAGENONE' undeclared" error message.
Hi Jonhy

see above the definition of I_IMAGENONE in commctrl.h

#if (_WIN32_IE >= 0x0500)

basically the 'normal' environment involves an IE5+ installation, so you need to specifically define the IE version that you're compiling for

#define _WIN32_IE 0x0500
before #include <commctrl.h>
would do

Best
Mark

http://www.halloit.com

Key ID 046B65CF