Solved

edit CListCtrl

Posted on 2001-08-23
8
1,004 Views
Last Modified: 2013-11-20
I use a CListCtrl report style and I want all the columns to be editable not just the label (first colomn).
Is it possible with CListCtrl?
0
Comment
Question by:AdrianBogdan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 6418337
i dont think u can, i used a different way to allow columns editing.
i poped up a dialog with editable listbox which support checkboxes so he can not only change the columns but also determine which one to display.
if u want the code i can give u
0
 
LVL 31

Accepted Solution

by:
Zoppo earned 300 total points
ID: 6418385
Hi AdrianBogdan,

take a look at http://www.codeguru.com/listview/edit_subitems.shtml

ZOPPO
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6419279
just a comment to complement ZOPPO's link:

There are typically two ways to achieve that:
a) create your own popup edit control when user clicks an item
b) reposition thew standard edit control over the line the user clicked on

On codeguru and codeproject you'll find examples on both.

Good luck
Peter
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 4

Expert Comment

by:jtwine100697
ID: 6420554
Bear in mind that you are not only limited to using an Edit control as the interface to modify a column: you can use anything you want... you just have to code it yerself! :)

-=- James.
0
 

Author Comment

by:AdrianBogdan
ID: 6427693
Obviously I can implement my own editing; I was asking if CListCtrl has it implemented already...

Anyway, the code from Zoppo's link is ok; so he gets the points..

10x u all 4 your sweat
0
 

Author Comment

by:AdrianBogdan
ID: 6427699
hope you don't mid for giving you an B grade :))
see my comment above
0
 
LVL 31

Expert Comment

by:Zoppo
ID: 6427748
>hope you don't mid for giving you an B grade
well, unfortunateley I do a bit, coz:

>I was asking if CListCtrl has it implemented already
I can't see this anywhere ... you asked: 'Is it possible with CListCtrl?'

And for this I must still say: 'Yes it is, if you use code like that I gave you the link to'.
0
 

Author Comment

by:AdrianBogdan
ID: 6431675
I didn't thout that it would be that much trouble for a B grade.
Is it that important?
I guess there's a contest going on here.. but who has time to read that kind of details..
I'm very happy that this is the best forum-site (talking about the huge data-base of Q&A and that the "speed" of the answears). I really think that the site is a REAL use of internet.

I have 1232 Q-points, I'm willing to give 800 points (if it is that important); but how can do that?
Hmm.. Here's a way: I'll post the following question:
"What's up, Zoppo?"; please add a comment and I'll give you 800 points..

I use my points pretty rarelly that's why I'm so generous :))

By why, what u'll use the points for? besides FAME

I wish you clean coding ;)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASCII Non-Printable characters/codes and their HTML equivalents 6 159
List out all word 7 359
sameEnds challenge 3 196
EvenOdd challenge 10 160
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question