The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: ofg on February 20, 2006, 03:12:37 PM

Title: Editing ListView SubItems
Post by: ofg on February 20, 2006, 03:12:37 PM
    hi,

   Can we edit a ReportView Subitem in place, just as we do editing Item Labels ?

   Thanks.
Title: Re: Editing ListView SubItems
Post by: Tedd on February 20, 2006, 05:26:41 PM
You will probably have to do it yourself though.
Which means detect the click or menu selection ("rename"), and then create an edit-box placed in front of the label, then when return is pressed get the text from the edit control and modify the label.
Title: Re: Editing ListView SubItems
Post by: donkey on February 21, 2006, 12:47:40 PM
This little example demonstrates how to create windows over top of a listview, it uses combo boxes but edit controls are the same idea...



[attachment deleted by admin]