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

C / C++ / MFC

 
QuestionQuick / Easy 2D Display Pin
ldsdbomber5-Jul-06 1:02
ldsdbomber5-Jul-06 1:02 
AnswerRe: Quick / Easy 2D Display Pin
_AnsHUMAN_ 5-Jul-06 1:11
_AnsHUMAN_ 5-Jul-06 1:11 
GeneralRe: Quick / Easy 2D Display Pin
ldsdbomber5-Jul-06 3:07
ldsdbomber5-Jul-06 3:07 
GeneralRe: Quick / Easy 2D Display Pin
ldsdbomber5-Jul-06 3:10
ldsdbomber5-Jul-06 3:10 
QuestionFiltering a List View with an other List Box Pin
frbry5-Jul-06 0:57
frbry5-Jul-06 0:57 
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 
frbry wrote:
SendMessage(hIgnore, LB_GETTEXT, r,(LPARAM)(LPCTSTR) tmprr);


I Suggest you to use LB_FINDSTRING

I think you can sort out the issue, if you debug the application.


frbry wrote:
LvItem.pszText=chhh;
LvItem.iSubItem=0;
ListView_InsertItem(hList, &LvItem);
LvItem.iSubItem=1;
LvItem.pszText="0";
ListView_SetItem(hList, &LvItem);


One thing I noticed is that, you two times you are modifying teh iSubItems(the final value is 1).
In MSDN it's clearly saying that,

You cannot use ListView_InsertItem or LVM_INSERTITEM to insert subitems. The iSubItem member of the LVITEM structure must be zero

SaRath.

"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."

My Blog | Understanding State Pattern in C++

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 
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 

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.