Solved

Get Current selection on multicolumn List Control (report view)

Posted on 1997-05-19
1
223 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

777 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