[]
Sets the position of the specified scroll bar.
protected int SetScrollPos(int nBar, int pos)
Type | Name | Description |
---|---|---|
int | nBar | |
int | pos | Specifies the new position of the scroll box. The position must be within the scrolling range. |
Type | Description |
---|---|
int | The previous position of the scroll box indicates success. Zero indicates failure |