Click here to Skip to main content
16,017,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Sockets Pin
AkiraOne19-Feb-07 23:35
AkiraOne19-Feb-07 23:35 
AnswerRe: Sockets Pin
led mike20-Feb-07 5:45
led mike20-Feb-07 5:45 
Questioninvalidate rectangle Pin
rushiraj.jhala19-Feb-07 22:42
rushiraj.jhala19-Feb-07 22:42 
AnswerRe: invalidate rectangle Pin
prasad_som19-Feb-07 22:54
prasad_som19-Feb-07 22:54 
AnswerRe: invalidate rectangle Pin
prasad_som21-Feb-07 19:50
prasad_som21-Feb-07 19:50 
QuestionRichEdit Control Error Pin
Suresh H19-Feb-07 21:59
Suresh H19-Feb-07 21:59 
GeneralRe: RichEdit Control Error Pin
Suresh H19-Feb-07 22:26
Suresh H19-Feb-07 22:26 
GeneralRe: RichEdit Control Error Pin
Suresh H19-Feb-07 22:54
Suresh H19-Feb-07 22:54 
Hi Prasad,

I made the changes
<br />
while (foundPos != -1)<br />
{<br />
CHARRANGE chrRange;<br />
chrRange.cpMin = foundPos-1;<br />
chrRange.cpMax = chrRange.cpMin + wordLen;<br />
SendMessage(hwndRichEdit,EM_EXSETSEL,0,(LPARAM)(&chrRange));<br />
SendMessage(hwndRichEdit,EM_GETCHARFORMAT,SCF_SELECTION,(LPARAM)(&cf));<br />
findText.chrg.cpMin = foundPos + wordLen;		<br />
foundPos=SendMessage(hwndRichEdit,EM_FINDTEXT,FR_WHOLEWORD,(LPARAM)&findText);<br />
}<br />


Now i am not getting any debug error or the words are getting colored ??
word color is not getting updated why ?? is there any error in this format statment ??

SendMessage(hwndRichEdit,EM_GETCHARFORMAT,SCF_SELECTION,(LPARAM)(&cf));
GeneralRe: RichEdit Control Error Pin
Suresh H19-Feb-07 23:34
Suresh H19-Feb-07 23:34 
AnswerRe: RichEdit Control Error Pin
Hamid_RT19-Feb-07 23:08
Hamid_RT19-Feb-07 23:08 
GeneralRe: RichEdit Control Error Pin
Suresh H19-Feb-07 23:38
Suresh H19-Feb-07 23:38 
QuestionCapturing "Delete button down" from keyboard Pin
harsh_296119-Feb-07 20:52
harsh_296119-Feb-07 20:52 
AnswerRe: Capturing "Delete button down" from keyboard Pin
Hamid_RT19-Feb-07 20:57
Hamid_RT19-Feb-07 20:57 
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan19-Feb-07 22:00
bosfan19-Feb-07 22:00 
GeneralRe: Capturing "Delete button down" from keyboard Pin
Hamid_RT19-Feb-07 23:08
Hamid_RT19-Feb-07 23:08 
GeneralRe: Capturing "Delete button down" from keyboard Pin
bosfan20-Feb-07 0:23
bosfan20-Feb-07 0:23 
GeneralRe: Capturing &quot;Delete button down&quot; from keyboard Pin
bosfan20-Feb-07 0:27
bosfan20-Feb-07 0:27 
GeneralRe: Capturing &quot;Delete button down&quot; from keyboard Pin
harsh_296120-Feb-07 0:55
harsh_296120-Feb-07 0:55 
GeneralRe: Capturing &quot;Delete button down&quot; from keyboard Pin
bosfan20-Feb-07 1:05
bosfan20-Feb-07 1:05 
GeneralRe: Capturing &quot;Delete button down&quot; from keyboard Pin
harsh_296120-Feb-07 18:57
harsh_296120-Feb-07 18:57 
GeneralRe: Capturing &quot;Delete button down&quot; from keyboard Pin
Hamid_RT20-Feb-07 1:12
Hamid_RT20-Feb-07 1:12 
GeneralRe: Capturing "Delete button down" from keyboard Pin
harsh_296120-Feb-07 22:32
harsh_296120-Feb-07 22:32 
QuestionDeleting selected items from list control Pin
harsh_296119-Feb-07 20:48
harsh_296119-Feb-07 20:48 
AnswerRe: Deleting selected items from list control Pin
Hamid_RT19-Feb-07 20:56
Hamid_RT19-Feb-07 20:56 
GeneralRe: Deleting selected items from list control Pin
harsh_296120-Feb-07 0:56
harsh_296120-Feb-07 0:56 

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.