WinStyle
Switches on and off scrolling and scrollbar features for existing windows.
Syntax
WinStyle(Style, Mode)
Style:
One of the following:
1 - Hide horizontal scroll bars.
2 - Hide vertical scroll bars.
3 - Disable horizontal scrolling.
4 - Disable vertical scrolling.
Mode:
The mode of the option:
0 - Turn option off.
1 - Turn option on.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
To turn horizontal and vertical scroll bars off for the current window:
WinStyle(1, 1); WinStyle(2, 1);
See Also