Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Get Current selection on multicolumn List Control (report view)

Posted on 1997-05-19
1
Medium Priority
?
232 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

971 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