Click here to Skip to main content
15,890,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can you please explain me why this code is not working ? Pin
Chris Losinger24-Apr-09 2:58
professionalChris Losinger24-Apr-09 2:58 
QuestionError : Debug assertion failed ................ Pin
tasmin iqbal23-Apr-09 22:05
tasmin iqbal23-Apr-09 22:05 
QuestionRe: Error : Debug assertion failed ................ Pin
CPallini23-Apr-09 22:06
mveCPallini23-Apr-09 22:06 
AnswerRe: Error : Debug assertion failed ................ Pin
_AnsHUMAN_ 23-Apr-09 22:08
_AnsHUMAN_ 23-Apr-09 22:08 
GeneralRe: Error : Debug assertion failed ................ Pin
tasmin iqbal23-Apr-09 22:19
tasmin iqbal23-Apr-09 22:19 
AnswerRe: Error : Debug assertion failed ................ Pin
Stuart Dootson23-Apr-09 22:45
professionalStuart Dootson23-Apr-09 22:45 
GeneralRe: Error : Debug assertion failed ................ Pin
tasmin iqbal23-Apr-09 22:48
tasmin iqbal23-Apr-09 22:48 
GeneralRe: Error : Debug assertion failed ................ Pin
Stuart Dootson23-Apr-09 23:43
professionalStuart Dootson23-Apr-09 23:43 
QuestionRe: Error : Debug assertion failed ................ Pin
David Crow24-Apr-09 4:15
David Crow24-Apr-09 4:15 
QuestionHow to get the selectedColumn in a CListCtrl. Pin
FISH78623-Apr-09 21:41
FISH78623-Apr-09 21:41 
AnswerRe: How to get the selectedColumn in a CListCtrl. Pin
_AnsHUMAN_ 23-Apr-09 21:46
_AnsHUMAN_ 23-Apr-09 21:46 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
FISH78623-Apr-09 21:51
FISH78623-Apr-09 21:51 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
_AnsHUMAN_ 23-Apr-09 22:00
_AnsHUMAN_ 23-Apr-09 22:00 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
FISH78623-Apr-09 22:11
FISH78623-Apr-09 22:11 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
Stuart Dootson23-Apr-09 22:01
professionalStuart Dootson23-Apr-09 22:01 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
FISH78623-Apr-09 22:13
FISH78623-Apr-09 22:13 
GeneralRe: How to get the selectedColumn in a CListCtrl. Pin
Stuart Dootson23-Apr-09 22:40
professionalStuart Dootson23-Apr-09 22:40 
Ah - you want the sub-item that the user clicked on!

The selection model for lists only includes selected rows, not columns. This means that what you need to do is handle the NM_CLICK notification[^] for the list view. This notification contains a pointer to an NMITEMACTIVATE structure[^] which contains details of where the click occurred, including the sub-item. You can then store that sub-item as the 'last-clicked sub-item'?

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

AnswerRe: How to get the selectedColumn in a CListCtrl. Pin
Rolf Kristensen1-May-09 11:50
Rolf Kristensen1-May-09 11:50 
QuestionDestructor of CView Pin
prithaa23-Apr-09 21:22
prithaa23-Apr-09 21:22 
AnswerRe: Destructor of CView Pin
CPallini23-Apr-09 21:27
mveCPallini23-Apr-09 21:27 
GeneralRe: Destructor of CView Pin
prithaa23-Apr-09 21:31
prithaa23-Apr-09 21:31 
GeneralRe: Destructor of CView Pin
CPallini23-Apr-09 22:05
mveCPallini23-Apr-09 22:05 
GeneralRe: Destructor of CView Pin
prithaa24-Apr-09 0:39
prithaa24-Apr-09 0:39 
GeneralRe: Destructor of CView Pin
CPallini24-Apr-09 0:47
mveCPallini24-Apr-09 0:47 
Question[Message Deleted] Pin
vctrlao23-Apr-09 20:55
vctrlao23-Apr-09 20:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.