The class for the window on top is usually Scintilla1 and Scintilla2 for the window on bottom.
The splitter bar in the middle appears to show SciTEWindowContent1, which actually encompasses both Scintilla1 and Scintilla 2, but dragging the divider up or down will determine whether the screen is split 50/50, 80/20, etc. between the top and bottom panes.
I was looking for a way to access the splitter bar programmatically and move it. If I resize the pane controls individually it has close to the effect I was hoping for, but the splitter bar also disappears (and therefore looks different), and if you click where the splitter bar should be, the mouse will jump back to where it used to be, i.e., to where the division between panes used to be.
Here's the test code that will move the splitter division down 50 pixels. Any ideas on how to actually move the splitter without clicking the mouse on it and having the mouse move?
Code: Select all
ControlGetPos, X, Y, W, H, % Ctl:="Scintilla2", A ControlMove, % Ctl, % x, % y+50, % w, % h-50, A ControlGetPos, X, Y, W, H, % Ctl:="Scintilla1", A ControlMove, % Ctl, % x, % y, % w, % h+50, A