#include <windows.h>
#include <Commctrl.h>
#include <shlwapi.h>
QuoteBuilding ImagesToolBar.obj.
C:\Users\Grincheux\Documents\Visual Studio 2015\Projects\ImagesViewer\ImagesToolBar.c(223): warning #2018: Undeclared function 'ListView_SetOutlineColor' (did you mean '(no name)'?); assuming 'extern' returning 'int'.
Building ImagesViewer.res.
Building ImagesViewer.exe.
POLINK: error: Unresolved external symbol 'ListView_SetOutlineColor'.
POLINK: fatal error: 1 unresolved external(s).
*** Error code: 1 ***
Done.
But
QuoteSendMessage(hLVImagesToolBar,LVM_SETOUTLINECOLOR,0,0x00ff0000) ;
is Ok!
This is not the only difference I found.
Compiled with VS Community 2015 no problem !
I suspect PellesC headers are not fully up to date. Either write your own macro or use SendMessage.
John
That's what I did.