Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Event Handler for CXTListCtrl
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Event Handler for CXTListCtrl

 Post Reply Post Reply
Author
Message
GM20 View Drop Down
Newbie
Newbie


Joined: 28 July 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GM20 Quote  Post ReplyReply Direct Link To This Post Topic: Event Handler for CXTListCtrl
    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!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 11:42pm
What version do you have?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
GM20 View Drop Down
Newbie
Newbie


Joined: 28 July 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote GM20 Quote  Post ReplyReply Direct Link To This Post Posted: 28 July 2005 at 11:51pm
I am currently linking in XTP9700EvalLibd.dll

Thanks.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.