C++
BOOL EnsureVisible( int nIndex, BOOL bPartialOk );
Description
Call this function to ensure that an item is partially or fully visible. The view is scrolled if necessary. If the bPartialOK parameter is nonzero, no scrolling occurs if the item is partially visible.
Returns true if successful; otherwise, returns false.
Parameters
Parameters | Description |
---|---|
nIndex | Input index of the tool |
bPartialOk | Input Boolean indicating whether the item can be partially visible |