Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIID_ITextStoreAnchor? Pin
josip cagalj28-Aug-07 21:23
josip cagalj28-Aug-07 21:23 
AnswerRe: IID_ITextStoreAnchor? Pin
Roger Broomfield28-Aug-07 21:35
Roger Broomfield28-Aug-07 21:35 
AnswerRe: IID_ITextStoreAnchor? Pin
josip cagalj28-Aug-07 22:43
josip cagalj28-Aug-07 22:43 
QuestionHow to catch select item event in ListCtrl Pin
Atul2328-Aug-07 20:58
Atul2328-Aug-07 20:58 
AnswerRe: How to catch select item event in ListCtrl Pin
Nibu babu thomas28-Aug-07 21:15
Nibu babu thomas28-Aug-07 21:15 
GeneralRe: How to catch select item event in ListCtrl Pin
Atul2328-Aug-07 23:38
Atul2328-Aug-07 23:38 
GeneralRe: How to catch select item event in ListCtrl Pin
Nibu babu thomas28-Aug-07 23:50
Nibu babu thomas28-Aug-07 23:50 
GeneralRe: How to catch select item event in ListCtrl Pin
Atul2329-Aug-07 0:56
Atul2329-Aug-07 0:56 
Thanks for ur Response,

I had tried LVN_ITEMCHANGED event. I write following code in MASSAGE MAP
as

BEGIN_MESSAGE_MAP(CSelectBusCategory, CPropertyPage) // Line 1
//{{AFX_MSG_MAP(CSelectBusCategory) // Line 2

LVN_ITEMCHANGED(IDC_PREVIEWLISTCTRL, OnSelectItemFromList) // Line 3

//}}AFX_MSG_MAP Line 4

END_MESSAGE_MAP() // Line 5

I also write definition for it as


void
CSelectBusCategory::OnSelectItemFromList(NMHDR* pNMHDR, LRESULT* pResult)
{

MessageBox(" Hiii");


}

When I compile this code, I got error in between
BEGIN_MESSAGE_MAP and END_MESSAGE_MAP(). These are

1)term does not evaluate to a function (Line 3)
2)syntax error : ';' (Line 5)
3)missing function header (old-style formal list?) (Line 5)
4)syntax error : missing ';' before '}' (Line 5)
5)syntax error : missing ';' before '}' (Line 5)


I could not find the reason why these errors are occure though the syntax are correct.I have solution then plz forward it.

Thanks in Advance

Atul
GeneralRe: How to catch select item event in ListCtrl Pin
Nibu babu thomas29-Aug-07 1:04
Nibu babu thomas29-Aug-07 1:04 
GeneralRe: How to catch select item event in ListCtrl Pin
Atul2329-Aug-07 1:46
Atul2329-Aug-07 1:46 
GeneralRe: How to catch select item event in ListCtrl Pin
Nibu babu thomas29-Aug-07 2:26
Nibu babu thomas29-Aug-07 2:26 
GeneralRe: How to catch select item event in ListCtrl Pin
Atul2330-Aug-07 23:35
Atul2330-Aug-07 23:35 
QuestionSource Control VS2005 Pin
Anilkumar K V28-Aug-07 20:46
Anilkumar K V28-Aug-07 20:46 
AnswerRe: Source Control VS2005 Pin
Cedric Moonen28-Aug-07 21:05
Cedric Moonen28-Aug-07 21:05 
GeneralRe: Source Control VS2005 Pin
Anilkumar K V29-Aug-07 1:48
Anilkumar K V29-Aug-07 1:48 
QuestionCFile used together with Lined List Pin
Manoj Srivastava28-Aug-07 17:28
Manoj Srivastava28-Aug-07 17:28 
AnswerRe: CFile used together with Lined List Pin
Nishad S28-Aug-07 20:44
Nishad S28-Aug-07 20:44 
QuestionRe: CFile used together with Lined List Pin
David Crow29-Aug-07 3:21
David Crow29-Aug-07 3:21 
QuestionHow make a dll in VC++ to use in C#? Pin
Rui A Sousa28-Aug-07 16:29
Rui A Sousa28-Aug-07 16:29 
AnswerRe: How make a dll in VC++ to use in C#? Pin
Karismatic28-Aug-07 20:25
Karismatic28-Aug-07 20:25 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Rui A Sousa29-Aug-07 3:33
Rui A Sousa29-Aug-07 3:33 
GeneralRe: How make a dll in VC++ to use in C#? Pin
Hamid_RT29-Aug-07 7:51
Hamid_RT29-Aug-07 7:51 
QuestionOpenFileMapping call Fails on VISTA Pin
praveenpl28-Aug-07 13:53
praveenpl28-Aug-07 13:53 
QuestionWhy ain't this in the docs? Pin
Waldermort28-Aug-07 13:24
Waldermort28-Aug-07 13:24 
AnswerRe: Why ain't this in the docs? Pin
Naveen28-Aug-07 15:55
Naveen28-Aug-07 15: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.