05-15-2008, 07:38 PM
QM accessible object triggers are disabled in QM process for stability. You could intercept AO events using SetWinEventHook. Or subclass QM_Code controls and receive WM_SETFOCUS and WM_KILLFOCUS.
Background color for QM_Code can be set like for QM_Output. But I think better to change selection bar colors. I'll add new style for it in Options -> Editor.
Preview:
Macro
Background color for QM_Code can be set like for QM_Output. But I think better to change selection bar colors. I'll add new style for it in Options -> Editor.
Preview:
Macro
int h=id(2210 _hwndqm)
SendMessage h SCI.SCI_STYLESETBACK SCI.STYLE_LINENUMBER 0x808080
SendMessage h SCI.SCI_STYLESETFORE SCI.STYLE_LINENUMBER 0x00E000
10
SendMessage h SCI.SCI_STYLESETBACK SCI.STYLE_LINENUMBER GetSysColor(COLOR_BTNFACE)
SendMessage h SCI.SCI_STYLESETFORE SCI.STYLE_LINENUMBER 0x008080