OnSize 

void OnSize( number nType, cx, cy );

Parameters

nType

Specifies the type of resizing requested. This parameter can be one of the following values:

cx

Specifies the new width of the client area.

cy

Specifies the new height of the client area.