Click here to Skip to main content
15,946,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionExecuting Sort.exe using ShellExecute()... etc Pin
Mick Leong10-Nov-08 21:22
Mick Leong10-Nov-08 21:22 
QuestionRe: Executing Sort.exe using ShellExecute()... etc Pin
CPallini10-Nov-08 22:33
mveCPallini10-Nov-08 22:33 
AnswerRe: Executing Sort.exe using ShellExecute()... etc Pin
David Crow11-Nov-08 3:20
David Crow11-Nov-08 3:20 
Questionproblem creating a colored icon Pin
tudorbalan10-Nov-08 21:19
tudorbalan10-Nov-08 21:19 
AnswerRe: problem creating a colored icon [modified] Pin
Mark Salsbery11-Nov-08 6:56
Mark Salsbery11-Nov-08 6:56 
GeneralRe: problem creating a colored icon Pin
tudorbalan11-Nov-08 10:34
tudorbalan11-Nov-08 10:34 
GeneralRe: problem creating a colored icon Pin
Mark Salsbery11-Nov-08 11:28
Mark Salsbery11-Nov-08 11:28 
GeneralRe: problem creating a colored icon Pin
tudorbalan12-Nov-08 0:16
tudorbalan12-Nov-08 0:16 
It' worked. But I can't use m_cImageListSmall.Draw , because I take the icon from the imagelist.

{
m_cListCtrl.DeleteAllItems();

// Use the LV_ITEM structure to insert the items
LVITEM lvi;
CString strItem;

for (int i = 0; i < m_nItems; i++)
{
// Insert the first item
lvi.mask = LVIF_IMAGE | LVIF_TEXT;
strItem.Format(_T("Item %i"), i);

lvi.iItem = i;
lvi.iSubItem = 0;
lvi.pszText = (LPTSTR)(LPCTSTR)(strItem);
lvi.iImage = 0; // HERE I SET THE INDEX OF THE IMAGE FROM THE IMAGELIST
m_cListCtrl.InsertItem(&lvi);
}

In this case it doesn't seem to work , I can't figure out why.
GeneralRe: problem creating a colored icon Pin
Mark Salsbery12-Nov-08 6:58
Mark Salsbery12-Nov-08 6:58 
GeneralRe: problem creating a colored icon Pin
tudorbalan12-Nov-08 8:52
tudorbalan12-Nov-08 8:52 
GeneralRe: problem creating a colored icon Pin
Mark Salsbery12-Nov-08 8:58
Mark Salsbery12-Nov-08 8:58 
Questionproblem in retriving values from recordset Pin
tasumisra10-Nov-08 20:47
tasumisra10-Nov-08 20:47 
AnswerRe: problem in retriving values from recordset Pin
CPallini10-Nov-08 21:14
mveCPallini10-Nov-08 21:14 
GeneralRe: problem in retriving values from recordset Pin
tasumisra10-Nov-08 21:23
tasumisra10-Nov-08 21:23 
GeneralRe: problem in retriving values from recordset Pin
CPallini10-Nov-08 21:48
mveCPallini10-Nov-08 21:48 
QuestionText Color Change for CRichEditCtrl on a CMdiChildWnd Pin
prithaa10-Nov-08 20:44
prithaa10-Nov-08 20:44 
AnswerRe: Text Color Change for CRichEditCtrl on a CMdiChildWnd Pin
Dhiraj kumar Saini10-Nov-08 22:33
Dhiraj kumar Saini10-Nov-08 22:33 
GeneralRe: Text Color Change for CRichEditCtrl on a CMdiChildWnd Pin
prithaa11-Nov-08 1:10
prithaa11-Nov-08 1:10 
QuestionIs there any API for Data? Pin
Nandu_77b10-Nov-08 20:20
Nandu_77b10-Nov-08 20:20 
AnswerRe: Is there any API for Data? Pin
_AnsHUMAN_ 10-Nov-08 20:39
_AnsHUMAN_ 10-Nov-08 20:39 
GeneralRe: Is there any API for Data? Pin
kevinmengmsn10-Nov-08 22:10
kevinmengmsn10-Nov-08 22:10 
GeneralRe: Is there any API for Data? Pin
_AnsHUMAN_ 10-Nov-08 22:43
_AnsHUMAN_ 10-Nov-08 22:43 
QuestionRe: Is there any API for Data? Pin
Nandu_77b10-Nov-08 23:14
Nandu_77b10-Nov-08 23:14 
AnswerRe: Is there any API for Data? Pin
Saurabh.Garg10-Nov-08 21:15
Saurabh.Garg10-Nov-08 21:15 
Questionhelp! How to ceate a custom skin application Pin
petterroea10-Nov-08 19:50
petterroea10-Nov-08 19:50 

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.