# OperateSplitter

int OperateSplitter (int panel, int control, int delta);

## Purpose

Use this function to mimic the movement of a splitter control by the interactive user. The effect is to move the splitter by a specified amount, and to also size or move any controls or panels that are attached to the splitter.

## Parameters

Input
Name | Type | Description
panelHandle | integer | Specifier for a particular panel that is currently in memory. You obtain this handle from LoadPanel, NewPanel, or DuplicatePanel.
controlID | integer | The defined constant, located in the .uir header file, that you assigned to the control in the User Interface Editor, or the ID returned by NewCtrl or DuplicateCtrl.
delta | integer | The number of pixels you want to offset the position of the splitter control. If this is a vertical splitter and this value is negative, then the splitter will shift to the left; if the value is positive, the splitter will shift to the right. If this is a horizontal splitter, and this value is negative, then the splitter will shift up; if the value is positive, then the splitter will shift down.

## Return Value

Name | Type | Description
status | integer | Return value indicating whether the function was successful. A negative number indicates that an error occurred.
Code | Error Message String
xx | Success