[go: up one dir, main page]

Menu

Commit [r787]  Maximize  Restore  History

In VC2005, Micro$@%#^&*oft changed the return type for OnNcHitTest from UINT to LRESULT. Since we want to be compatible with older compilers, we define a bogus type VTS_NC_HIT_TYPE:

#if _MSC_VER >= 1400
#define VTS_NC_HIT_TYPE LRESULT
#else
#define VTS_NC_HIT_TYPE UINT
#endif
and use it in the affected functions

johnhartman 2010-04-07

changed /trunk/VTS3/scbarg.cpp
changed /trunk/VTS3/scbarg.h
changed /trunk/VTS3/sizecbar.cpp
changed /trunk/VTS3/sizecbar.h