|
|
|
|
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.
Subject |
Author |
Date |
|
Halfdom LCap
|
Oct 15, 2009 - 10:56 AM
|
Dear , Two weeks ago, I asked how to use CExtListCtrl at the example of "MDI_DynamicInnerOuterBars " and sent my project codes. I tried to do the way that you said the reply, but some problem.
I tried to initialize with columns and items, but the result was creation fail.
Can you show me the sample code? I don’t know how to do.
-- Original question and reply--
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.
=> Reply
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
|
|
Technical Support
|
Oct 16, 2009 - 12:57 PM
|
We received your e-mail and replied it. Our reply has attached the improved version of your test project.
|
|
Halfdom LCap
|
Oct 15, 2009 - 3:58 PM
|
|
|
Technical Support
|
Oct 15, 2009 - 1:06 PM
|
We received several e-mails related to the improved versions of the MDI_DynamicInnerOuterBars sample application and replied to all of them. But it’s possible your e-mail was not delivered. Could you please re-send us your e-mail from another account?
|
|
Halfdom LCap
|
Oct 15, 2009 - 4:06 PM
|
|
|
Technical Support
|
Oct 16, 2009 - 12:57 PM
|
We received your e-mail and replied it. Our reply has attached the improved version of your test project.
|
|