Why is it that in my commctrls.h some things such as using CDIS_SELECTED (used to determine state of control when custom drawing) I can't use. The compiler says that i.e. CDIS_SELECTED undeclared first use this function.
#if (_WIN32_IE >= 0x0300) #define CDIS_CHECKED 8 #define CDIS_DEFAULT 32 #define CDIS_DISABLED 4 #define CDIS_FOCUS 16 #define CDIS_GRAYED 2 #define CDIS_HOT 64 #define CDIS_SELECTED 1 #define CDIS_MARKED 128 #define CDIS_INDETERMINATE 256 #if (_WIN32_WINNT >= 0x0501) #define CDIS_SHOWKEYBOARDCUES 512 #endif
This is an extract from the file commctrls.h
I think I understand the meaning of this, i.e. simply its so outdated versions of windows can't use certain things.
My point is that I am using Windows XP SP2, which honestly isn't that outdated. My Compiler is the latest of Dev-C++ w/ MinGW.
What is it that _WIN32_IE >= 0x0300 mean exactly and why can't I used some of these things, the same things also happens with InitCommonControlsEx(..) etc.