Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Outex with Text Color
Function init2
Copy      Help
;This function runs when QM starts or this macro list file [re]loaded.

;... other stuff

def red 0xff
def blue 0xff0000
def lightblue 0xFAFCCF
def green 0x8000
def purple 0xA9196F
def orange 0x7373FF
def pink 0xD53EE3
def white 0xffffff

;... more stuff

Function outc
Copy      Help
function VARIANT's color;; color: red, blue, green


out F"<><c {color}>{_s}</c>"

Macro Example
Copy      Help
_s="Blue"; _i=1

outc "An example:" red
outc F"{_s} is the {_i}st color" blue

I would like to do the same with 'outex'. I have tried: SendMessageW __outex_hwnd with TVM_SETTEXTCOLOR, SetTextColor __outex_hwnd 0xff... but nothing works. Text Color, background color, maybe other fonts...

Any help?
Impossible, too much work. Would need to replace the rich edit control to a control similar to the QM_Output control, but there is no such control.

Forum Jump:

Users browsing this thread: 1 Guest(s)