VS2015 compiler throws the following errors.
Severity Code Description Project File Line
Error C2065 'TBM_SETPAGESIZE': undeclared identif
Error C2065 'TBM_SETPOS': undeclared identifier T
Error C2065 'TBM_SETRANGE': undeclared identifier
Error C2065 'TBM_SETSEL': undeclared identifier T
Error C2065 'TBM_SETTICFREQ': undeclared identifi
Error C2065 'TBS_AUTOTICKS': undeclared identifie
Error C2065 'TBS_ENABLESELRANGE': undeclared iden
Error C2065 'TRACKBAR_CLASS': undeclared identifi
Error C1083 Cannot open include file: 'clasSelect
The same code compiles successfully under VS2010.
In other words VS2010 recognizes these symbols, and VS2015 does not.
Why is that? Perhaps Microsoft considers such product-to-product inconsistencies to be a "product improvement". I do not.
In what header file might these symbols be defined?
True to form, none of the so-called "help" resources from Microsoft provides any useful information on this subject.
Can any of my fellow victims of Microsoft incompetence help me with this?
I thank you in advance for any assistance you can offer.
Last edited on
As off-the-wall as this sounds:
Did you include the common control header? <CommCtrl.h>
My copy of VS2015 didn't recognize the track bar messages until I included the header.