08-25-2020, 07:23 PM
Function ChangeQmHelpAndTipsPaneFont
https://www.scintilla.org/ScintillaDoc.html
;/
function [$fontName] [fontSize]
int c=id(2209 _hwndqm) ;;QM_Tips
if c=0
,int tb=id(2207 _hwndqm) ;;vertical toolbar
,TBBUTTON b; SendMessage tb TB_GETBUTTON 2 &b ;;button index to id
,SendMessage GetParent(tb) WM_COMMAND b.idCommand tb ;;create and show the pane
,c=id(2209 _hwndqm)
int i
for i 0 256
,if(!empty(fontName)) SendMessageW c SCI.SCI_STYLESETFONT i fontName
,if(fontSize>0) SendMessageW c SCI.SCI_STYLESETSIZE i fontSize
https://www.scintilla.org/ScintillaDoc.html