Event Handler for CXTListCtrl |
Post Reply |
Author | |
GM20
Newbie Joined: 28 July 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 28 July 2005 at 3:47pm |
I graphically created a List Control object in an MFC dialog.
Programatically, I mapped that List Control to a CXTListCtrl, and I have been able to populate the CXTListCtrl just fine. However, I have not been able to successful add an Event Handler to this CXTListCtrl. I tried to use the Event Handler Wizard to add the event. Here is my code for my event. void CDlgMainStart::OnNMRclickStartList(NMHDR *pNMHDR, LRESULT *pResult) { AfxMessageBox("Test"); *pResult = 0; } What happens when I actually right-click on the CXTListCtrl is that my program freezes. I have tested the above on a CListCtrl and it works perfectly. However, I do not understand why it doesnt work for a CXTListCtrl. Please help! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
What version do you have?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
GM20
Newbie Joined: 28 July 2005 Status: Offline Points: 2 |
Post Options
Thanks(0)
|
I am currently linking in XTP9700EvalLibd.dll
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 |