#define DIALOG_REGISTRO
#define DIALOG_REGISTRO 0
enum ServerDialogs { DIALOG_REGISTRO, DIALOG_LOGIN, DIALOG_WHATEVER //and so on }