REM_SETHILITELINE works fine but the color arg does not seem to be RGB. 080h gives pink and 0ffh gives mint green.
My main problem is that I cannot find a way to un-hliteite the line.
Hi msmith
With REM_SETHILITELINE you can choose one of three colors (lParam=1, 2 or 3) or turn it off (lParam=0).
To choose the actual RGB values use REM_SETCOLOR with an RACOLOR structure as lParam.
RACOLOR struct
bckcol dd ? ;Back color
txtcol dd ? ;Text color
selbckcol dd ? ;Sel back color
seltxtcol dd ? ;Sel text color
cmntcol dd ? ;Comment color
strcol dd ? ;String color
oprcol dd ? ;Operator color
hicol1 dd ? ;Line hilite 1
hicol2 dd ? ;Line hilite 2
hicol3 dd ? ;Line hilite 3
selbarbck dd ? ;Selection bar
selbarpen dd ? ;Selection bar pen
lnrcol dd ? ;Line numbers color
numcol dd ? ;Numbers & hex color
RACOLOR ends
KetilO
Thanks Ketil