Home TOC Index
DoIndepArrowResponse DoOwnerResponse DoReStyleControl DoAdjustRect DoGetExtent DoGetCurrentPage DoGetCurrentGroup

DoIndepArrowResponse

By default, scrollbar position is automatically maintained by the control itself, except in two situations. The first is done programmatically. The second is through control and programmatic interaction. The latter is what is known as the Independent Arrow Operation.

The whole operation starts with a user interaction through some of the gui’s of the control or through the keyboard or mousewheel. The control then notifies its container or host about the action including the impending change of position, and gives the latter the opportunity to decide whether to accept or reject it. In some cases, it allows for partial acceptance or lessen the extent of change. After it receives the response, the change is then reflected.

Declaration

short DoIndepArrowResponse(short response)

Use

This method is used in conjunction with the Independent Arrow Operation. Please respond only within the message handler.

Parameter

To respond use the following values:

NAME

TYPE

VALUE AND MEANING

response

short

1

Do not increment or decrement the current position.

3

Increment or decrement by one (1) the current position.

4

Increment or decrement by the aggregate value or 1, whichever is higher.

any negative value

Increment or decrement by the correponding non-negative value or the full aggregate value, whichever is lower.

Please do not use any other values. It may have unpredictable results.

Return Value

The return value is not yet significant.

Last Modified:

4/13/2006, 1:16:00 PM

Home TOC Index


Created by BBSI WebHelp Writer
Buenaflor Better Softwares International