Click here to Skip to main content
15,895,740 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Filtering a List View with an other List Box Pin
Viorel.5-Jul-06 1:28
Viorel.5-Jul-06 1:28 
GeneralRe: Filtering a List View with an other List Box Pin
frbry5-Jul-06 1:55
frbry5-Jul-06 1:55 
AnswerRe: Filtering a List View with an other List Box Pin
Sarath C5-Jul-06 1:37
Sarath C5-Jul-06 1:37 
GeneralRe: Filtering a List View with an other List Box Pin
frbry5-Jul-06 1:57
frbry5-Jul-06 1:57 
GeneralRe: Filtering a List View with an other List Box [modified] Pin
Sarath C5-Jul-06 2:27
Sarath C5-Jul-06 2:27 
AnswerRe: Filtering a List View with an other List Box Pin
frbry5-Jul-06 2:27
frbry5-Jul-06 2:27 
GeneralRe: Filtering a List View with an other List Box Pin
Viorel.5-Jul-06 2:40
Viorel.5-Jul-06 2:40 
GeneralRe: Filtering a List View with an other List Box [modified] Pin
frbry5-Jul-06 2:46
frbry5-Jul-06 2:46 
You're right.

   char chhh[260];	//process name; like "calc.exe"
  char tmprr[260];	//process name to be ignored.
  bool found = false;
  do{
             sprintf(chhh, "%s", pe32.szExeFile);
			 for(int r=0; r<SendMessage(hIgnore, LB_GETCOUNT, 0, 0); r++)
			 {
				 SendMessage(hIgnore, LB_GETTEXT, r,(LPARAM)(LPCTSTR) tmprr); 
				if( stricmp(chhh, tmprr) == 0){
					 found = true;
					break;
				}
				}
			if(!found){
			 LvItem.pszText=chhh; 
			 LvItem.iSubItem=0;       
			 ListView_InsertItem(hList, &LvItem);
			 LvItem.iSubItem=1;       
			 LvItem.pszText="0"; 
			 ListView_SetItem(hList, &LvItem);
			
}


-- modified at 8:49 Wednesday 5th July, 2006
GeneralRe: Filtering a List View with an other List Box Pin
Viorel.5-Jul-06 2:59
Viorel.5-Jul-06 2:59 
GeneralRe: Filtering a List View with an other List Box Pin
frbry5-Jul-06 3:10
frbry5-Jul-06 3:10 
QuestionHow we can set borders to dialog Pin
muravi5-Jul-06 0:51
muravi5-Jul-06 0:51 
AnswerRe: How we can set borders to dialog [modified] Pin
_AnsHUMAN_ 5-Jul-06 0:56
_AnsHUMAN_ 5-Jul-06 0:56 
GeneralRe: How we can set borders to dialog Pin
muravi5-Jul-06 1:04
muravi5-Jul-06 1:04 
GeneralRe: How we can set borders to dialog Pin
Hamid_RT5-Jul-06 2:15
Hamid_RT5-Jul-06 2:15 
Questionchange text colour Pin
Manjunath S5-Jul-06 0:32
Manjunath S5-Jul-06 0:32 
AnswerRe: change text colour Pin
Sarath C5-Jul-06 0:44
Sarath C5-Jul-06 0:44 
QuestionRe: change text colour Pin
Manjunath S5-Jul-06 0:50
Manjunath S5-Jul-06 0:50 
AnswerRe: change text colour Pin
Sarath C5-Jul-06 2:30
Sarath C5-Jul-06 2:30 
AnswerRe: change text colour Pin
ashish dogra5-Jul-06 0:55
ashish dogra5-Jul-06 0:55 
AnswerRe: change text colour Pin
Hamid_RT5-Jul-06 1:47
Hamid_RT5-Jul-06 1:47 
QuestionXML Namespace Problem [modified] Pin
anil@kalkitech.in5-Jul-06 0:30
anil@kalkitech.in5-Jul-06 0:30 
AnswerRe: XML Namespace Problem Pin
Taka Muraoka5-Jul-06 1:19
Taka Muraoka5-Jul-06 1:19 
GeneralRe: XML Namespace Problem Pin
anil@kalkitech.in5-Jul-06 1:51
anil@kalkitech.in5-Jul-06 1:51 
GeneralRe: XML Namespace Problem Pin
Taka Muraoka5-Jul-06 3:58
Taka Muraoka5-Jul-06 3:58 
QuestionExporting Crystal report from code Pin
Wayne FORGET5-Jul-06 0:29
Wayne FORGET5-Jul-06 0:29 

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.