Click here for NewsObjects Overview
MoveFocus Method (Headline Control)
Windows - Visual C++


Description
The MoveFocus method moves the focus relative to its current position.

Syntax
void MoveFocus(long value);

The MoveFocus syntax has these parts:

Part

Description

value

Number of positions relative to the current position to move the focus. Negative values move the focus up and positive values move it down.

Remarks
If it is not possible to move the focus the specified amount, because there are not enough items either before or after the current focus position, then the focus is moved to the top or bottom item. 

See Also: MoveFocusToBottom MoveFocusToTop CurrentItemInfo FocusAtBottom FocusAtTop

Back to: Headline Methods