Rich Text box Questions
[code]rtfctl = CreateWindow("RICHEDIT","text",WS_BORDER|WS_CHILD|WS_VISIBLE|ES_MULTILINE|WS_VSCROLL|WS_HSCROLL,10,10,300,300,MAINSS,0,hInstance,0);[CODE]
Now heres where I'm stuck at
1. I have it set to multiline and both scrollbars are visible. But the text won't go beyond horizontally.
If I remove the multiline then it will go beyond it but then it will only be that one line.
2. How can I introduce syntax highlighting for it?
In VB I would then find the word and use selcolor and similar functions to change the color but this method would slow down after a couple of lines.
So I asked about it and someone told me I need to parse it. How do I go about doing that?
Thanks
Continued here:
Rich Text box Questions
15