Click here to Skip to main content
15,919,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: satisfiable Pin
Deepchand P18-Feb-07 23:53
Deepchand P18-Feb-07 23:53 
GeneralRe: satisfiable Pin
benjymous19-Feb-07 0:15
benjymous19-Feb-07 0:15 
AnswerRe: Explain the working of this program please Pin
BadKarma19-Feb-07 1:52
BadKarma19-Feb-07 1:52 
GeneralRe: Explain the working of this program please Pin
David Crow19-Feb-07 3:20
David Crow19-Feb-07 3:20 
GeneralRe: Explain the working of this program please Pin
BadKarma19-Feb-07 3:58
BadKarma19-Feb-07 3:58 
Questionhow to add FIle image icon in the listview control? Pin
amitmistry_petlad 18-Feb-07 22:31
amitmistry_petlad 18-Feb-07 22:31 
AnswerRe: how to add FIle image icon in the listview control? Pin
Nibu babu thomas18-Feb-07 23:16
Nibu babu thomas18-Feb-07 23:16 
GeneralRe: how to add FIle image icon in the listview control? Pin
amitmistry_petlad 19-Feb-07 0:52
amitmistry_petlad 19-Feb-07 0:52 
Thanks !
but how can I add the icon in the listview. Look at the source code.
LvItem.iItem=0;            // choose item  
LvItem.iSubItem=0;         // Put in first coluom
HIMAGELIST llistaImatgesG=ImageList_Create(GetSystemMetrics(SM_CXICON),GetSystemMetrics(SM_CYICON),ILC_COLOR32|ILC_MASK,1,1);
HICON hIcona=LoadIcon(hInst,MAKEINTRESOURCE(IDI_QUESTION));
<code>
///Your given code 
SHFILEINFO shfi = { 0 };
SHGetFileInfo( _T( "quest.bmp" ),FILE_ATTRIBUTE_NORMAL,&shfi, sizeof(shfi),SHGFI_ICON|SHGFI_USEFILEATTRIBUTES );
</code>
///
//ImageList_AddIcon(llistaImatgesG,hIcona);								ListView_SetImageList(hList,llistaImatgesG,LVSIL_SMALL);						LvItem.pszText=w_UploadedFile;//Display File name here							SendMessage(hList,LVM_INSERTITEM,0,(LPARAM)&LvItem); // Send to the Listview				

GeneralRe: how to add FIle image icon in the listview control? Pin
Nibu babu thomas19-Feb-07 0:58
Nibu babu thomas19-Feb-07 0:58 
Questionfile create problem Pin
david bagaturia18-Feb-07 22:15
david bagaturia18-Feb-07 22:15 
AnswerRe: file create problem Pin
prasad_som18-Feb-07 22:34
prasad_som18-Feb-07 22:34 
GeneralRe: file create problem Pin
apoorva_raje18-Feb-07 22:45
apoorva_raje18-Feb-07 22:45 
AnswerRe: file create problem Pin
Hamid_RT19-Feb-07 6:29
Hamid_RT19-Feb-07 6:29 
QuestionUser Authentication NT Domain Pin
apoorva_raje18-Feb-07 21:43
apoorva_raje18-Feb-07 21:43 
QuestionCliking button programmatically [modified] Pin
rp_suman18-Feb-07 21:00
rp_suman18-Feb-07 21:00 
AnswerRe: Cliking button programmatically Pin
prasad_som18-Feb-07 21:38
prasad_som18-Feb-07 21:38 
QuestionRe: Cliking button programmatically Pin
Programm3r19-Feb-07 1:07
Programm3r19-Feb-07 1:07 
AnswerRe: Cliking button programmatically Pin
prasad_som19-Feb-07 1:34
prasad_som19-Feb-07 1:34 
GeneralRe: Cliking button programmatically Pin
Programm3r19-Feb-07 1:52
Programm3r19-Feb-07 1:52 
GeneralRe: Cliking button programmatically Pin
prasad_som19-Feb-07 2:05
prasad_som19-Feb-07 2:05 
AnswerRe: Cliking button programmatically Pin
Hamid_RT19-Feb-07 5:09
Hamid_RT19-Feb-07 5:09 
AnswerRe: Cliking button programmatically Pin
Roger Stoltz18-Feb-07 21:43
Roger Stoltz18-Feb-07 21:43 
GeneralRe: Cliking button programmatically Pin
rp_suman18-Feb-07 23:49
rp_suman18-Feb-07 23:49 
Questioncreating MSI package using vs 2005 Pin
Manjunath S18-Feb-07 20:38
Manjunath S18-Feb-07 20:38 
QuestionChanging color of CStatic text. How ? Pin
sakthimuthu18-Feb-07 19:47
sakthimuthu18-Feb-07 19:47 

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.