| Home | TOC | Index |
| DoIndepArrowResponse | DoOwnerResponse | DoReStyleControl | DoAdjustRect | DoGetExtent | DoGetCurrentPage | DoGetCurrentGroup |
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.
short DoIndepArrowResponse(short response)
This method is used in conjunction with the Independent Arrow Operation. Please respond only within the message handler.
To respond use the following values:
NAME |
TYPE |
VALUE AND MEANING |
|---|---|---|
response |
short |
1Do not increment or decrement the current position. 3Increment or decrement by one (1) the current position. 4Increment or decrement by the aggregate value or 1, whichever is higher. any negative valueIncrement 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. |
The return value is not yet significant.
4/13/2006, 1:16:00 PM
| Home | TOC | Index |