Solved

Get Current selection on multicolumn List Control (report view)

Posted on 1997-05-19
1
221 Views
Last Modified: 2006-11-17
How to get the current select on multicolumn report control (report view)? like the "GetCurSel" on list box.
0
Comment
Question by:edward95
1 Comment
 
LVL 10

Accepted Solution

by:
RONSLOW earned 0 total points
ID: 1163572
In VC/MFC you use

GetNextItem(-1,LVNI_SELECTED);

Which says starting from the first item (-1), find the next selected item (LVNI_SELECTED).

If you are using BC++, there should be a similar call.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

911 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now