| void CBCGPEditCtrl::SetWordColor | ( | CString | strWord, |
| COLORREF | clrFrgnd = -1, |
||
| COLORREF | clrBkgnd = -1, |
||
| BOOL | bCaseSensitive = TRUE |
||
| ) |
Assigns the specified foreground and background colors to a word.
This function is used for syntax coloring and assigns the specified foreground and background colors to a word.
| strWord | The word. |
| clrFrgnd | Foreground color. |
| clrBkgnd | Background color. |
| bCaseSensitive | If TRUE, the word is case sensitive. If FALSE, the word is non case sensitive (for example, int, Int and INTwill be highlighted). |