Code:
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);
..
..
}
^^ so erzeuge ich ihn