Click here to Skip to main content
15,921,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how can i add image/file icon in listview? Pin
Hamid_RT19-Feb-07 19:14
Hamid_RT19-Feb-07 19:14 
GeneralRe: how can i add image/file icon in listview? Pin
amitmistry_petlad 19-Feb-07 19:41
amitmistry_petlad 19-Feb-07 19:41 
AnswerRe: how can i add image/file icon in listview? Pin
Naveen19-Feb-07 18:28
Naveen19-Feb-07 18:28 
GeneralRe: how can i add image/file icon in listview? Pin
amitmistry_petlad 19-Feb-07 18:52
amitmistry_petlad 19-Feb-07 18:52 
GeneralRe: how can i add image/file icon in listview? Pin
Naveen19-Feb-07 19:07
Naveen19-Feb-07 19:07 
GeneralRe: how can i add image/file icon in listview? Pin
amitmistry_petlad 19-Feb-07 19:58
amitmistry_petlad 19-Feb-07 19:58 
GeneralRe: how can i add image/file icon in listview? Pin
Naveen19-Feb-07 20:33
Naveen19-Feb-07 20:33 
GeneralRe: how can i add image/file icon in listview? Pin
amitmistry_petlad 19-Feb-07 20:57
amitmistry_petlad 19-Feb-07 20:57 
I am using listview two times.
1) first when i read all the xml content and display it in the listview.(on WM_INITDIALOG)
for that all columns draw first time in this call back(i will manage it if first time image add
by the (2)). (this is when application open firstime)

(after opened application- new dialog contain combo and new call back - and listview HANDLE is global )
2) when I add any new item in the list view through open dialog.(when COMBO event selchange)
then the new values(files) add diretly in this when i used open dialog.(want to add image/icon here ). when dialog close.the listview saved and display by (1).(this is when running application).

//same for all sub items
<br />
LvItem.iItem=i;									<br />
LvItem.iSubItem=0; //using loop for sub item<br />
LvItem.pszText=(LPWSTR)w_UploadedFile;<br />
SendMessage(hList,LVM_INSERTITEM,0,(LPARAM)&LvItem);//please refer LVM_SETITEM for sub item<br />

GeneralRe: how can i add image/file icon in listview? Pin
Naveen19-Feb-07 21:04
Naveen19-Feb-07 21:04 
GeneralRe: how can i add image/file icon in listview? Pin
amitmistry_petlad 19-Feb-07 22:57
amitmistry_petlad 19-Feb-07 22:57 
QuestionProblem in using 'GlobalMemoryStatusEx' Pin
SelvaKr19-Feb-07 16:21
SelvaKr19-Feb-07 16:21 
AnswerRe: Problem in using 'GlobalMemoryStatusEx' Pin
David Crow19-Feb-07 16:55
David Crow19-Feb-07 16:55 
GeneralRe: Problem in using 'GlobalMemoryStatusEx' Pin
SelvaKr19-Feb-07 17:11
SelvaKr19-Feb-07 17:11 
Questionproblem with IWbemClassObject::GetMethod Pin
Manasi D19-Feb-07 16:03
Manasi D19-Feb-07 16:03 
AnswerRe: problem with IWbemClassObject::GetMethod Pin
redr0cky25-Jul-10 22:10
redr0cky25-Jul-10 22:10 
AnswerRe: Do the Visual C++6 and MFC can develope application to install on.. Pin
David Crow19-Feb-07 16:41
David Crow19-Feb-07 16:41 
QuestionSEH exception translation bug Pin
jfranzoy19-Feb-07 14:14
jfranzoy19-Feb-07 14:14 
AnswerRe: SEH exception translation bug Pin
Mark Salsbery20-Feb-07 6:42
Mark Salsbery20-Feb-07 6:42 
QuestionC++ Email project help Pin
arbster119-Feb-07 12:50
arbster119-Feb-07 12:50 
AnswerRe: C++ Email project help Pin
David Crow21-Feb-07 8:21
David Crow21-Feb-07 8:21 
QuestionMFC Force Painting Pin
Bram van Kampen19-Feb-07 12:49
Bram van Kampen19-Feb-07 12:49 
AnswerRe: MFC Force Painting [modified] Pin
Mark Salsbery19-Feb-07 13:06
Mark Salsbery19-Feb-07 13:06 
GeneralRe: MFC Force Painting Pin
Bram van Kampen19-Feb-07 13:46
Bram van Kampen19-Feb-07 13:46 
GeneralRe: MFC Force Painting Pin
Mark Salsbery19-Feb-07 13:53
Mark Salsbery19-Feb-07 13:53 
GeneralRe: MFC Force Painting [modified] Pin
Bram van Kampen19-Feb-07 15:16
Bram van Kampen19-Feb-07 15:16 

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.