![]() |
Unhandled exception using CXTListView |
Post Reply
|
| Author | |
joep
Groupie
Joined: 18 February 2004 Location: Netherlands Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Topic: Unhandled exception using CXTListViewPosted: 09 April 2008 at 7:59pm |
|
In a simple, from CXTListView derived, class I have this update function: CXTListCtrl& lc = (CXTListCtrl&)GetListCtrl(); Can anyone help me with this? Thx!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2008 at 1:26am |
|
Hi,
You can 't use such line:
CXTListCtrl& lc = (CXTListCtrl&)GetListCtrl();
GetListCtrl returns always CListCtrl& - you can't cast it to CXTListCtrl& if you have CXTListView just call directly:
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
joep
Groupie
Joined: 18 February 2004 Location: Netherlands Status: Offline Points: 12 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 April 2008 at 4:56am |
|
Ah, silly me - overlooked that completely. Thanks!
|
|
![]() |
|
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 |