Ok ! u mean to say that the first value of COLOR_(which i think is COLOR_SCROLLBAR) will get treated as a NULL pointer!Got it !Thnks @grumpy @novacain :D
Type: Posts; User: ZaidK
Ok ! u mean to say that the first value of COLOR_(which i think is COLOR_SCROLLBAR) will get treated as a NULL pointer!Got it !Thnks @grumpy @novacain :D
Ok ! I got that HBRUSH is a pointer type but what about "Adding the 1 is necessary to ensure all valid COLOR_xxx values correspond to a non-NULL HBRUSH."? Is it in the MS documentation or just a...
Books(the Charles Petzold one) say that there is a need of adding +1 while using the System colours like..
wndclass.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1)
I don't understand the need of...