hello Jon,
Brilliant! Thank you very much!
Although Intellisence (VS2010) does not agree with the cast, it says this:
44 IntelliSense: argument of type "int (*)()" is incompatible with parameter of type
"int (*)(ListModel *, ListRow *, ListRow *, BoolInt, int)"
But the compiler is satisfied. Of course this solution is much better!