------------------------------------------------------------------------
 Enhanced Drag-n-Drop Inside Grid Sample for iGrid ActiveX 
 
 Control Version: 3.0
 Environment: Visual Basic 6

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

Description
===========
The demo develops the idea of the DragNDropInsideGrid demo and demonstrates how to enhance dragging and dropping cells inside the grid with highlighting the target cell or automatic scrolling when the mouse pointer is outside of iGrid and the dragging operation is in progress.

Short Code Explanation
======================
This demo uses the Timer control to detect whether it needs to scroll iGrid when the mouse pointer is outside the grid and the drag-n-drop operation is in progress. The timer is enabled when the drag-n-drop operation is started (in the StartCellDrag event). If the mouse pointer is outside the grid, the grid is scrolled; in code the corresponding value is added to the VScrollBar.Value property. To determine the coordinates of the mouse pointer outside of the grid, the GetCursor WinAPI function is used.
  
The sample highlights the current cell under the mouse pointer; it determines the cell to highlight using the CellFromPoint method in the DragOver event.
