L
moin
jojo sorry etwas verwirrt als ich das hier geschrieben hab also mein code sieht so aus:
#include ....
CListBox * textBox;
...
...
int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct){
...
...
textBox = new CListBox();
textBox->Create( WS_BORDER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_STANDARD, CRect(50,250,1230,900), this, 1 ) ;
textBox->ShowWindow(1);
for(int ii=0; ii<50; ii++){
CString ausg;
ausg.Format("%i",ii);
SetAnzeigeText(ausg);
}
label1 = new CStatic();
label1->Create(txt->label0, WS_BORDER | WS_CHILD | WS_VISIBLE | ES_CENTER, CRect(50,15,240,35), this, 2 );
label1->ShowWindow(1);
...
...
}
^^ damit kann man vielleicht mehr anfangen
mfg LT