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 :
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
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
Hi
Use ValidateRect to validate the rect you just painted.
KetilO
Use ValidateRect to validate the rect you just painted.
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
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
Hi
Here you find an example with manifest.
http://radasm.visualassembler.com/Upload/LineNumber.zip
KetilO
Here you find an example with manifest.
http://radasm.visualassembler.com/Upload/LineNumber.zip
KetilO
thats all i want !
thax :)
thax :)