hi folks...
in RadAsm we have that SelectionBar on the main Richedit Box, and its background color isnt black or white as the richedit background color...
ive tryed to make a rect like this :


left = 0
top = 0
right= 20
bottom = richedit height

on the richedit paint proc ....
and fill it with FillRect api
the rect is filled right....
but when i type something a part of the rect(exactly the height of the line) is overwritten by the line background color !

what should i do ?
thx
Posted on 2005-01-15 14:42:05 by GR33d
Hi

Use ValidateRect to validate the rect you just painted.

KetilO
Posted on 2005-01-15 15:47:16 by KetilO
hum...that should do it :) thx
and 2 more things :P

my selection bar is like ... 8px of width... is there any way to size it to a 20px of width ?

and...

ive seen that radasm has a manifest file included on it, is there any way to include a manifest file trough a *.rc (resource) file ?

thats all
you helped me a lot :-D
Posted on 2005-01-15 19:53:52 by GR33d
Hi

Here you find an example with manifest.

http://radasm.visualassembler.com/Upload/LineNumber.zip

KetilO
Posted on 2005-01-16 05:15:15 by KetilO
thats all i want !
thax :)
Posted on 2005-01-16 06:17:54 by GR33d