Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » To use CExtListCtrl Collapse All
Subject Author Date
Halfdom LCap Sep 30, 2009 - 10:05 PM

I’m using 2.85 version.

I refer from the example of "MDI_DynamicInnerOuterBars ".

I ’m trying to use CExtListCtrl in place of CSimpleDynamicEdit in the sy

The source of CSimpleDynamicEdit is

in MainFrm.cpp
pLogEdit = new CSimpleDynamicEdit;
VERIFY(pLogEdit->Create(
m_parrControlBars[i]->m_hWnd,
NULL) );
pCpriEdit->SetWindowText("Log Monitor");
How to use CExtListCtrl in place of CSimpleDynamicEdit?

=> I sent my project code to you(support@prof-uis.com ).

Please,check up the project source.

Thanks.

Halfdom LCap Oct 21, 2009 - 12:47 PM

The problem was solved with your suggestion.



Thank you very much. 


Technical Support Oct 3, 2009 - 6:34 AM

We received your project. The code at line 400 in Mainfrm.cpp is absolutely OK:

. . . . .
#if 1
      CSimpleDynamicListViewCtrl * pList = new CSimpleDynamicListViewCtrl;
      CWnd * pWnd = CWnd::FromHandle(m_parrControlBars[i]->m_hWnd);
      VERIFY(
          pList->Create(
            WS_CHILD|WS_VISIBLE,
            CRect(0,0,1,1),
            pWnd,
            UINT(555)
            )
          );

#else
. . . . .

It simply creates фт un-initialized list view control without items and columns.

Halfdom LCap Oct 6, 2009 - 12:26 PM

Can you show me the example?


I don’t know how to do.