![]() |
CXTPPropertyGrid::GetGridView |
Post Reply ![]() |
Author | |
lrenoux ![]() Groupie ![]() Joined: 20 April 2009 Status: Offline Points: 62 |
![]() ![]() ![]() ![]() ![]() Posted: 29 July 2020 at 9:27am |
Hi there, One bug in new scrollable view handling CXTPPropertyGridView& CXTPPropertyGrid::GetGridView() const { if (NULL == m_pView) { m_pView = CreateView(); m_pView->m_pGrid = (CXTPPropertyGrid*)this; } CXTPScrollablePropertyGridListBox* pScrollableView = DYNAMIC_DOWNCAST(CXTPScrollablePropertyGridListBox, m_pView); if (NULL != m_pView) <==== Should be NULL != pScrollableView { CXTPPropertyGridView* pEmbeddedView = DYNAMIC_DOWNCAST(CXTPPropertyGridView, pScrollableView->GetControl()); if (NULL != pEmbeddedView) { return *pEmbeddedView; } } return *m_pView; } L.
|
|
![]() |
|
lrenoux ![]() Groupie ![]() Joined: 20 April 2009 Status: Offline Points: 62 |
![]() ![]() ![]() ![]() ![]() |
And I add that it would be useful to declare the class CXTPScrollablePropertyGridListBox in .h so that we can inherite from it I forgot Codejock 19.2.0 Thx. L.
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |