Click here to Skip to main content
15,910,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreating new object from type_info (typeid) Pin
Tomas(cz)18-Jul-09 2:13
Tomas(cz)18-Jul-09 2:13 
AnswerRe: Creating new object from type_info (typeid) Pin
Stuart Dootson18-Jul-09 2:55
professionalStuart Dootson18-Jul-09 2:55 
GeneralRe: Creating new object from type_info (typeid) Pin
Tomas(cz)18-Jul-09 5:44
Tomas(cz)18-Jul-09 5:44 
GeneralRe: Creating new object from type_info (typeid) Pin
Stuart Dootson18-Jul-09 7:24
professionalStuart Dootson18-Jul-09 7:24 
AnswerRe: Creating new object from type_info (typeid) Pin
Bram van Kampen18-Jul-09 15:35
Bram van Kampen18-Jul-09 15:35 
QuestionHow to save a bitmap in Visual c++ (mfc)? Pin
Sakthi.Gs :-)18-Jul-09 0:43
Sakthi.Gs :-)18-Jul-09 0:43 
AnswerRe: How to save a bitmap in Visual c++ (mfc)? Pin
Iain Clarke, Warrior Programmer18-Jul-09 1:05
Iain Clarke, Warrior Programmer18-Jul-09 1:05 
AnswerRe: How to save a bitmap in Visual c++ (mfc)? Pin
ravidborse20-Jul-09 3:17
ravidborse20-Jul-09 3:17 
QuestionCRECT height Pin
kumar sanghvi18-Jul-09 0:03
kumar sanghvi18-Jul-09 0:03 
AnswerRe: CRECT height Pin
Naveen18-Jul-09 0:11
Naveen18-Jul-09 0:11 
GeneralRe: CRECT height Pin
kumar sanghvi18-Jul-09 0:40
kumar sanghvi18-Jul-09 0:40 
GeneralRe: CRECT height Pin
Iain Clarke, Warrior Programmer18-Jul-09 1:02
Iain Clarke, Warrior Programmer18-Jul-09 1:02 
Questiondoc file processing Pin
alashara17-Jul-09 23:47
alashara17-Jul-09 23:47 
AnswerRe: doc file processing Pin
Iain Clarke, Warrior Programmer18-Jul-09 1:10
Iain Clarke, Warrior Programmer18-Jul-09 1:10 
GeneralRe: doc file processing Pin
alashara18-Jul-09 1:46
alashara18-Jul-09 1:46 
GeneralRe: doc file processing Pin
Bram van Kampen18-Jul-09 15:46
Bram van Kampen18-Jul-09 15:46 
AnswerRe: doc file processing Pin
Alain Rist18-Jul-09 22:50
Alain Rist18-Jul-09 22:50 
AnswerRe: doc file processing Pin
Randor 19-Jul-09 13:45
professional Randor 19-Jul-09 13:45 
QuestionConversion from char * to LPWSTR Pin
Pardhu_M17-Jul-09 22:27
Pardhu_M17-Jul-09 22:27 
AnswerRe: Conversion from char * to LPWSTR Pin
Naveen17-Jul-09 23:05
Naveen17-Jul-09 23:05 
AnswerRe: Conversion from char * to LPWSTR Pin
ThatsAlok18-Jul-09 7:43
ThatsAlok18-Jul-09 7:43 
Questionsearch a list control Pin
rahuljin17-Jul-09 20:08
rahuljin17-Jul-09 20:08 
i have to list control in a mfc dialog application.

first one is ipList. i want to search an item in the list.

int i = 0;
TCHAR ss[50] = {0};
ipAdd.GetAddress(m_M1, m_M2, m_M3, m_M4);
_stprintf_s(ss, _T("%d : %d : %d : %d"), m_M1, m_M2, m_M3, m_M4);
		
for(int j=0; j < ipList.GetItemCount(); j++)
{
	if(ipList.GetItem(j) != ss)
         	i=0;
	else 
		i = 1;
}


it gives the error ---
error C2664: 'CListCtrl::GetItem' : cannot convert parameter 1 from 'int' to 'LVITEMW *'


what i should do now ?

btw thanks
AnswerRe: search a list control Pin
carter200017-Jul-09 22:29
carter200017-Jul-09 22:29 
GeneralRe: search a list control Pin
rahuljin17-Jul-09 23:08
rahuljin17-Jul-09 23:08 
GeneralRe: search a list control Pin
carter200017-Jul-09 23:22
carter200017-Jul-09 23:22 

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.