?
okay, es lag nicht an der Adresse, die Zähle ich aber trotzdem hoch.
So funktioniert es:
CButton *chkDay[5];
int i, a=40, b=55;
CString temp;
unsigned int adresse;
adresse=0x11;
for(i=0; i<5; i++)
{
temp.Format("%d", adresse);
chkDay[i] = new CButton;
chkDay[i]->Create(temp, WS_CHILD | WS_VISIBLE |
BS_AUTOCHECKBOX, CRect(7, a, 140, b), this, adresse);
adresse+=1;
a+=20;
b+=20;
}