------------------------------------------------------------------------
 Interactive Row Resizing Sample for iGrid ActiveX
 
 Control Version: 3.0
 Environment: Visual Basic 6

 Copyright (c) 10Tec Company. All rights reserved.
------------------------------------------------------------------------

Description
===========
iGrid allows you to resize interactively only its columns, but the code from this sample shows how you can also resize its rows with the mouse. Moreover, you can even automatically fit the height of a row when you double-click its bottom edge.

Short Code Explanation
======================
The main work is done in the mouse events. We check in the CheckResizePossible sub whether the mouse pointer should be changed to a special glyph that indicates whether a row can be resized. The CellBoundary method of iGrid helps us in that when we determine whether there is a rows bottom edge near the cursor.

When we change the cursor to indicate this situation, we also need to change it back when it has been moved by the user outside of the grid or over the iGrid scroll bars. The MouseMove event for our control is not raised in this case, so we use an additional timer control to check this issue.
