Trouble using ListView_SetExtendedListViewStyle

Hey all, having some trouble with the extended list view styles. My compiler says the function was not defined in this scope:

error: `ListView_SetExtendedListViewStyle' was not declared in this scope|

But I have linked the libcomctl32 library:

C:\Program Files\CodeBlocks\MinGW\lib\libcomctl32.a

And I'm including:

#include <windows.h>
#include <Windowsx.h>
#include <commctrl.h>

I've also done this manifest thing that the win docs say I have to do to enable visual styles or something: http://msdn.microsoft.com/en-us/library/ms649781(VS.85).aspx

Any help would be awesome!

Thanks in advance,

Nick :)
Topic archived. No new replies allowed.