Changed NULL to nullptr and fixed the issues found that way.

Issues were assignments to incompatible datatypes, e.g. COLORREF, BOOL, ...
The compilation shows again less warnings now.

Signed-off-by: Tobias Lorenz <tobias.lorenz@etas.com>