"Maarten Lankhorst" m.b.lankhorst@gmail.com wrote:
+#ifndef MIN +# define MIN(a,b) ((a) < (b) ? (a) : (b)) +#endif
/* use LoadString */ static const WCHAR wszAppTitle[] = {'W','i','n','e',' ','W','o','r','d','p','a','d',0};
Considering you only use this macro once, wouldn't it be better to just expand MIN?
There is no need to introduce MIN/MAX at all, windef.h provides min/max (notice lower case) already.