Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Accessible Objects in QM Editor
#2
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
Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)