Click here to Skip to main content
15,905,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Detours and SetWindowsHookEx question Pin
yonghengzhimi27-Apr-08 15:09
yonghengzhimi27-Apr-08 15:09 
GeneralURLDownloadToCacheFile question Pin
monsieur_jj24-Apr-08 21:14
monsieur_jj24-Apr-08 21:14 
GeneralRe: URLDownloadToCacheFile question Pin
David Crow25-Apr-08 3:34
David Crow25-Apr-08 3:34 
GeneralRe: URLDownloadToCacheFile question Pin
monsieur_jj30-Apr-08 15:34
monsieur_jj30-Apr-08 15:34 
GeneralUsing the Insert statement in mfc c++ to database Pin
neo on poltek24-Apr-08 20:24
neo on poltek24-Apr-08 20:24 
GeneralRe: Using the Insert statement in mfc c++ to database Pin
Rajkumar R24-Apr-08 21:05
Rajkumar R24-Apr-08 21:05 
GeneralRe: Using the Insert statement in mfc c++ to database Pin
ShilpiP24-Apr-08 21:07
ShilpiP24-Apr-08 21:07 
GeneralImages in every column of listcontrol Pin
Kiran Pinjala24-Apr-08 20:19
Kiran Pinjala24-Apr-08 20:19 
I used the following code to show an image in the row of a listcontrol.
LV_ITEM lvi;	
	CString item,symbol;
	symbol = card.Right(1);
	int len = card.GetLength();
	item = card.Left(len-1);

	lvi.mask = LVIF_IMAGE | LVIF_TEXT ;
	lvi.iItem = 0;
	lvi.iSubItem = isubItem;
	lvi.pszText = item.GetBuffer(item.GetLength());
	lvi.stateMask = LVIS_STATEIMAGEMASK|LVM_SETITEMSTATE;

	 if(symbol.CompareNoCase("C")==0)
		lvi.iImage = 0;
	else if (symbol.CompareNoCase("D")==0)
		lvi.iImage = 1;
	else if(symbol.CompareNoCase("H")==0)
		lvi.iImage = 2;
	else if (symbol.CompareNoCase("S")==0)
		lvi.iImage = 3;

	player1.SetItem(&lvi);

There are 13 columns in the row. and there is only one row.
I wanted the image to be shown in every column of that row. But the image is being shown only in the first column. How to make it.

Thank you

Saadhinchaali

GeneralRe: Images in every column of listcontrol Pin
Naveen24-Apr-08 21:08
Naveen24-Apr-08 21:08 
GeneralCFileDialog Pin
john563224-Apr-08 19:59
john563224-Apr-08 19:59 
GeneralRe: CFileDialog Pin
Naveen24-Apr-08 20:58
Naveen24-Apr-08 20:58 
GeneralRe: CFileDialog Pin
john563224-Apr-08 21:53
john563224-Apr-08 21:53 
GeneralRe: CFileDialog Pin
Naveen24-Apr-08 23:18
Naveen24-Apr-08 23:18 
GeneralRe: CFileDialog Pin
Hamid_RT24-Apr-08 21:02
Hamid_RT24-Apr-08 21:02 
GeneralRe: CFileDialog Pin
Saurabh.Garg24-Apr-08 22:13
Saurabh.Garg24-Apr-08 22:13 
GeneralRe: CFileDialog Pin
john563224-Apr-08 23:18
john563224-Apr-08 23:18 
GeneralRe: CFileDialog Pin
krmed25-Apr-08 0:42
krmed25-Apr-08 0:42 
GeneralRe: CFileDialog Pin
Saurabh.Garg25-Apr-08 2:25
Saurabh.Garg25-Apr-08 2:25 
GeneralRe: CFileDialog Pin
Saurabh.Garg25-Apr-08 2:22
Saurabh.Garg25-Apr-08 2:22 
GeneralRe: CFileDialog Pin
Saurabh.Garg24-Apr-08 22:27
Saurabh.Garg24-Apr-08 22:27 
GeneralRe: CFileDialog Pin
Nitheesh George24-Apr-08 22:59
Nitheesh George24-Apr-08 22:59 
QuestionRe: CFileDialog Pin
David Crow25-Apr-08 3:39
David Crow25-Apr-08 3:39 
GeneralRe: CFileDialog Pin
Michael Schubert25-Apr-08 4:40
Michael Schubert25-Apr-08 4:40 
GeneralNeed solution for WSAEWOULDBLOCK Pin
yaminisridaran24-Apr-08 19:49
yaminisridaran24-Apr-08 19:49 
GeneralRe: Need solution for WSAEWOULDBLOCK Pin
Mark Salsbery25-Apr-08 6:14
Mark Salsbery25-Apr-08 6:14 

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.