IDC_STATIC is an arbitrary value, you can use
Code:
#define MYSTATICCONTROLS 1000//here 1000 is also an arbitrary value
//then you can do:
LTEXT "Brush:",MYSTATICCONTROLS,25,25,20,14
I think that the idea of setting up a common defined value for those controls is because usually you won't access them; instead of that, a button need it's own value to be able to work with it via the WM_COMMAND message. Then, if you know that no other control have an id=0 and that you won't acces to some controls, then you can declare them as
Code:
LTEXT "Brush:",0,25,25,20,14
Niara