Hi
I should have said hide.
What I really want to do is have smooth scrolling with the document map, and I wondered if the vertical scroll bar was taken out of the picture it might make a difference.
I have seen some other code, but not sure how it was implemented.
IfWinExist ahk_class Notepad++
Control, Hide,,Button3, ahk_class Notepad++
ControlGet, Handle, Hwnd,, Scintilla2, ahk_class Notepad++
SendMessage, 2280, 0, 0,, ahk_id %Handle% ;SCI_SETVSCROLLBAR=2280,hide=0,show=1
#IfWinExist