It Worked Like That :
CListCtrl* TmpCobA = new CListCtrl;
TmpCobA ->Create(WS_CHILD | WS_VISIBLE,
CRect(10, 10, 320, 280), this, 0x285);
The Main Work is that i wanna create a custom control (
the CMultilineList)
But It crashes
CMultilineList *lstCtrl = new CMultilineList;
lstCtrl->Create(this, CRect(10, 10, 320, 280), 0x285, WS_CHILD | WS_VISIBLE);
pointing to the Assert Statement (below)
_AFXWIN_INLINE int CFont::GetLogFont(LOGFONT* pLogFont)
{ ASSERT(m_hObject != NULL);
return ::GetObject(m_hObject, sizeof(LOGFONT), pLogFont); }