Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
init2 override QM output font to Courier?
#3
Function ChangeQmHelpAndTipsPaneFont
Code:
Copy      Help
;/
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


Messages In This Thread
RE: init2 override QM output font to Courier? - by Gintaras - 08-25-2020, 07:23 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)