Controlling view splitter from DisplayWindowFromHandle

When a user control is created using DisplayWindowFromHandle/DisplayWindowFromHandlex64 with SplitWindow set to true, how can we control the position of the splitter bar using API?

SolidworksApi macros