Solved

Get Current selection on multicolumn List Control (report view)

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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 goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

807 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