Jump to content

CM HORZSCROLLSPLITWINDOW

From EDM2

This message scrolls a split window in the split details view.

Syntax

param1
USHORT usWindow;   /* Window indicator. */

param2
LONG lScrollInc;    /* Amount to scroll. */

Parameters

usWindow (USHORT) - Input
Window indicator.
CMA_LEFT: The left split window is scrolled.
CMA_RIGHT: The right split window is scrolled.
lScrollInc (LONG) - Input
Amount (in pixels) by which to scroll the window.

Returns

rc (BOOL) - returns
Success indicator.
TRUE: Successful completion.
FALSE: An error occurred. The WinGetLastError function may return the following error:
PMERR_INVALID_PARAMETERS.

Remarks

The lScrollInc parameter indicates a change in position. If the lScrollInc parameter value is greater than 0, the window specified in the usWindow parameter is scrolled to the right by the number of pixels specified in the lScrollInc parameter. If the value of the lScrollInc parameter is less than 0, the window specified in the usWindow parameter is scrolled to the left by the number of pixels specified in the lScrollInc parameter. This message is used to scroll either the left or right split window by an absolute amount.

The columns that are to appear in each split window are determined at the time the split window is created. Thereafter, columns in the left split window cannot be seen in the right split window, and vice versa.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it other than to return FALSE.