Home TOC Index
DoIndepArrowResponse DoOwnerResponse DoReStyleControl DoAdjustRect DoGetExtent DoGetCurrentPage DoGetCurrentGroup

DoReStyleControl

All-around restyling of the scrollbar.

Declaration

BOOL DoReStyleControl(long id, short orientation, short trackersize, short tickinterval, long styles, short stylesmask, long min, long max, long pagesize, long pos, long indent, short radix, BOOL invert, short infomask)

Use

This method is used after creating the Scrollbar to set the desired properties, styles and states of the control. The stylemask and the infomask must be set properly to select the parameters to be changed. For bit assignments, please refer to long mask part lParam of the Event section.

It returns true if successful.

Parameters

NAME

TYPE

VALUE AND MEANING

id

long

Description

orientation

short

The orientation of the scrollbar. Please see the corresponding entry in the Properties section.

trackersize

short

The suggested tracker size of the scrollbar. Please see the corresponding entry in the Properties section.

tickinterval

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

styles

long

The styles of the scrollbar. Please see the corresponding entry in the Properties section.

stylesmask

short

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

min

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

max

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

pagesize

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

pos

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

indent

long

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

radix

short

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

invert

BOOL

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

infomask

short

The suggested tick interval of the scrollbar. Please see the corresponding entry in the Properties section.

Return Value

The method returns TRUE if successful, and FALSE otherwise.

Last Modified:

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

Home TOC Index


Created by BBSI WebHelp Writer
Buenaflor Better Softwares International