Click here to Skip to main content
15,902,492 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:45
jhwurmbach31-Aug-07 3:45 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:47
Russell'31-Aug-07 3:47 
GeneralRe: Naming your exe Pin
David Crow31-Aug-07 3:56
David Crow31-Aug-07 3:56 
GeneralRe: Naming your exe Pin
jhwurmbach31-Aug-07 4:02
jhwurmbach31-Aug-07 4:02 
GeneralRe: Naming your exe Pin
Russell'31-Aug-07 3:48
Russell'31-Aug-07 3:48 
AnswerRe: Naming your exe Pin
jhwurmbach31-Aug-07 3:38
jhwurmbach31-Aug-07 3:38 
AnswerRe: Naming your exe Pin
__yash__31-Aug-07 4:30
professional__yash__31-Aug-07 4:30 
QuestionHow to identify image in ListCtrl Pin
Atul2331-Aug-07 2:46
Atul2331-Aug-07 2:46 
Hi All,

I used customized ListCtrl in my application. I derived class from CListCtrl clas. I add JPEG images in ListCtrl now i want to check that which JPEG image is selected by the user. I use following code but it does not return me image path or image name.


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


int nItem,nSubItem,nLen;

NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR;

*pResult = 0;


// CString strJPEGFileName = mWebPagePrvListCtrl.GetItemText(pNMListView->iItem,pNMListView->iSubItem);

// MessageBox(strJPEGFileName);

}


Is there any other code to retrive path of JPEG image


Thanks in Advance


Atul
AnswerRe: How to identify image in ListCtrl Pin
David Crow31-Aug-07 3:20
David Crow31-Aug-07 3:20 
GeneralRe: How to identify image in ListCtrl Pin
Atul2331-Aug-07 3:48
Atul2331-Aug-07 3:48 
GeneralRe: How to identify image in ListCtrl Pin
David Crow31-Aug-07 4:06
David Crow31-Aug-07 4:06 
GeneralRe: How to identify image in ListCtrl Pin
Mark Salsbery31-Aug-07 5:10
Mark Salsbery31-Aug-07 5:10 
Question2 windows controls one above the other Pin
prithaa31-Aug-07 2:02
prithaa31-Aug-07 2:02 
AnswerRe: 2 windows controls one above the other Pin
Nishad S31-Aug-07 2:09
Nishad S31-Aug-07 2:09 
AnswerRe: 2 windows controls one above the other Pin
Iain Clarke, Warrior Programmer31-Aug-07 4:01
Iain Clarke, Warrior Programmer31-Aug-07 4:01 
AnswerRe: 2 windows controls one above the other Pin
Naveen31-Aug-07 5:08
Naveen31-Aug-07 5:08 
AnswerRe: 2 windows controls one above the other Pin
Roger Broomfield31-Aug-07 5:26
Roger Broomfield31-Aug-07 5:26 
Questiondisable richeditctrl for inputing text Pin
barbarini31-Aug-07 1:38
barbarini31-Aug-07 1:38 
AnswerRe: disable richeditctrl for inputing text Pin
Nishad S31-Aug-07 1:44
Nishad S31-Aug-07 1:44 
GeneralRe: disable richeditctrl for inputing text Pin
barbarini31-Aug-07 1:57
barbarini31-Aug-07 1:57 
GeneralRe: disable richeditctrl for inputing text Pin
Nishad S31-Aug-07 2:19
Nishad S31-Aug-07 2:19 
AnswerRe: disable richeditctrl for inputing text Pin
Hamid_RT31-Aug-07 1:47
Hamid_RT31-Aug-07 1:47 
QuestionRe: disable richeditctrl for inputing text Pin
David Crow31-Aug-07 3:21
David Crow31-Aug-07 3:21 
QuestionResize RichEditCtrl Pin
barbarini31-Aug-07 1:33
barbarini31-Aug-07 1:33 
AnswerRe: Resize RichEditCtrl Pin
Nishad S31-Aug-07 1:36
Nishad S31-Aug-07 1:36 

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.