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

CXTListCtrl label editing ???

 Post Reply Post Reply
Author
Message Reverse Sort Order
hpesata View Drop Down
Groupie
Groupie


Joined: 16 July 2004
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote hpesata Quote  Post ReplyReply Direct Link To This Post Topic: CXTListCtrl label editing ???
    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

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.047 seconds.