I am trying to use the rtf functions found here:
cRichEdit(_ctrlID, _action, opt1="", opt2="", opt3="", opt4="", opt5="", opt6="")
http://www.autohotkey.com/forum/topic19 ... hlight=rtf
i used this:
Code:
cRichEdit(REdit1, "Text", "Hello World!!")
from the demo
but cannot find how to send to a non ahk Gui, i replaced the REdit1 with the handle of the edit control but it does not work ( it is a RTF edit window)
Code:
ControlSend ,, hello ?? , ahk_id%HID1%
works
Code:
cRichEdit(HID1, "Text", "Hello World!!")
does not work
also the underlying line does not work
DllCall("user32.dll\SendMessage", "UInt", HID1, "UInt", 0x461, "Str", "", "Str", "hello ??")
any ideas?