I have macros (control names) like IDC_T_UCLASS1, IDC_T_UCLASS2, IDC_T_UCLASS3 etc. How to shorten the command in a loop so I could concatenate base name of macro with its number?
The C preprocessor is not Turing-complete. It doesn't allow iteration. Consider using an interpreted language to generate repetitive code into a .inl file to be included from your other sources.