Click here to Skip to main content
15,900,725 members

Comments by lin98666521 (Top 25 by date)

lin98666521 7-Jan-13 2:14am View    
FireViewChange();
i need to use "FireViewChange();" after SetExtent().
lin98666521 6-Dec-12 0:13am View    
i have Solve the problem by myself.
i find that,the color and size of the bullets are the same to the last "\r",so i remeber the position ,and find the first "\r" from the position to set it color and size.

if(imInfo.iLastStart!=0)
{
SetSel(imInfo.iLastStart,imInfo.iLastStart+1);
SetParaFormat(pf2);

FINDTEXTEXW ft;//
ft.chrg.cpMin = imInfo.iLastStart;
ft.chrg.cpMax = -1;
ft.lpstrText=_T("\r");
long n = FindText(FR_DOWN,ft);
if(n!=-1)
{
SetSel( n,n+1);
SetWordCharFormat( cfPoint );
}
imInfo.iLastStart = 0;
}
lin98666521 26-Nov-12 20:49pm View    
hi,thank you very much,it is my oversight, i set pf2.cbSize = sizeof(PARAFORMAT2),it work well.

you shall submit your solution,i will take it.
lin98666521 26-Nov-12 20:35pm View    
oh,i do not set pf2.cbSize = sizeof(PARAFORMAT2),but i have tried using dyspacebefore,it do not work.
lin98666521 8-Nov-12 3:27am View    
thanks,I understand.