Click here to Skip to main content
15,911,715 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: BCDebug Pin
Ray Cassick25-Jun-06 14:12
Ray Cassick25-Jun-06 14:12 
Questionsimulate the keyboad values Pin
Fabian Tang25-Jun-06 8:17
Fabian Tang25-Jun-06 8:17 
Questiondeleting sections from ini Pin
fury 8425-Jun-06 7:02
fury 8425-Jun-06 7:02 
AnswerRe: deleting sections from ini Pin
Joe Woodbury25-Jun-06 8:16
professionalJoe Woodbury25-Jun-06 8:16 
GeneralRe: deleting sections from ini Pin
fury 8425-Jun-06 8:20
fury 8425-Jun-06 8:20 
QuestionCheck for privileges Pin
xuanvulh25-Jun-06 4:19
xuanvulh25-Jun-06 4:19 
Questionsocket question [modified] Pin
mohanrajh25-Jun-06 2:45
mohanrajh25-Jun-06 2:45 
AnswerRe: socket question Pin
Jun Du25-Jun-06 4:24
Jun Du25-Jun-06 4:24 
GeneralRe: socket question Pin
mohanrajh25-Jun-06 17:24
mohanrajh25-Jun-06 17:24 
GeneralRe: socket question Pin
Jun Du26-Jun-06 4:05
Jun Du26-Jun-06 4:05 
GeneralRe: socket question Pin
Jun Du26-Jun-06 4:44
Jun Du26-Jun-06 4:44 
QuestionChange a Unicode project to MBCS using VS2005 Pin
cv_k3n24-Jun-06 23:44
cv_k3n24-Jun-06 23:44 
AnswerRe: Change a Unicode project to MBCS using VS2005 Pin
Justin Tay25-Jun-06 0:05
Justin Tay25-Jun-06 0:05 
GeneralRe: Change a Unicode project to MBCS using VS2005 Pin
cv_k3n25-Jun-06 0:14
cv_k3n25-Jun-06 0:14 
GeneralRe: Change a Unicode project to MBCS using VS2005 [modified] Pin
Justin Tay25-Jun-06 0:37
Justin Tay25-Jun-06 0:37 
GeneralRe: Change a Unicode project to MBCS using VS2005 Pin
cv_k3n25-Jun-06 0:54
cv_k3n25-Jun-06 0:54 
GeneralRe: Change a Unicode project to MBCS using VS2005 Pin
cv_k3n26-Jun-06 10:28
cv_k3n26-Jun-06 10:28 
GeneralRe: Change a Unicode project to MBCS using VS2005 Pin
Justin Tay27-Jun-06 5:06
Justin Tay27-Jun-06 5:06 
Questioncann't add a project to the current workspace Pin
old_dustman24-Jun-06 22:48
old_dustman24-Jun-06 22:48 
AnswerRe: cann't add a project to the current workspace Pin
old_dustman24-Jun-06 23:18
old_dustman24-Jun-06 23:18 
GeneralRe: cann't add a project to the current workspace Pin
Jun Du26-Jun-06 4:51
Jun Du26-Jun-06 4:51 
QuestionHow to change the icon i listctrl? Pin
xuwenq8824-Jun-06 22:11
xuwenq8824-Jun-06 22:11 
codes:
<br />
m_imagelist1.Create(16, 16, ILC_COLOR32, 1, 1);<br />
CBitmap *bmp=new CBitmap;<br />
	CString str;<br />
	for(int i=1; i<109; i++)<br />
	{<br />
		str.Format("qqface\\%d_m.bmp", i);<br />
		bmp->m_hObject=(HBITMAP)LoadImage<br />
			(NULL, str, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);<br />
<br />
		m_imagelist1.Add(bmp, RGB(0, 0, 0));<br />
		m_treeQunimage.Add(bmp, RGB(0, 0, 0));<br />
<br />
	}<br />
	delete bmp;	<br />
m_List1.SetImageList(&m_imagelist2, LVSIL_SMALL);<br />
m_List1.DeleteAllItems();<br />
		int nItem;<br />
		m_List1.SetIconSpacing(50, 50);<br />
		for(int i=1; i<109; i++)<br />
		{<br />
nItem=m_List1.InsertItem(2*i,"hello", i);<br />
		}<br />


now the list have a series of icons !

if I double click one icon, I want change this icon, what shall I do?will the following codes effective?
:


Wating for answers online, very urgent!

Just my interest for these common things
AnswerRe: How to change the icon i listctrl? Pin
Hamid_RT25-Jun-06 3:06
Hamid_RT25-Jun-06 3:06 
GeneralRe: How to change the icon i listctrl? Pin
xuwenq8825-Jun-06 4:27
xuwenq8825-Jun-06 4:27 
GeneralRe: How to change the icon i listctrl? Pin
Hamid_RT25-Jun-06 18:16
Hamid_RT25-Jun-06 18: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.