Print Page | Close Window

CXTListCtrl label editing ???

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2025
Printed Date: 18 September 2025 at 9:35pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTListCtrl label editing ???
Posted By: hpesata
Subject: CXTListCtrl label editing ???
Date Posted: 24 March 2005 at 9:22am
Hi!

XTP 9601:

I am using a CXTListCtrl object within a CXTResizeDialog.

I would like to edit the labels of my listctrl items and I use
m_mylist.ModifyStyle(0, LVS_EDITLABELS) in OnInitDialog().

I created the handlers for begin/end label-editing:

ON_NOTIFY(LVN_BEGINLABELEDIT,  IDC_MY_LIST, OnBeginLabelEdit)
ON_NOTIFY(LVN_ENDLABELEDIT, IDC_MY_LIST, OnEndLabelEdit)

when I start my app and press the "F2" key on an item within my listctrl,
no edit-box appaeras, the BeginLabelEdit handler isnt called.

this works fine with the standard MFC-CListCtrl.

what do I have to do to accomplish this with the CXTListCtrl ?

thanx in advance,
Hans




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net