От: | linker | ||
Дата: | 14.04.05 12:54 | ||
Оценка: |
От: | Flamer | http://users.livejournal.com/_flamer_/ | |
Дата: | 14.04.05 12:57 | ||
Оценка: |
TCustomGrid::MouseCoord
Returns the row and column indexes of the cell that contains a point specified in screen coordinates.
struct TGridCoord
{
int X;
int Y;
};
TGridCoord __fastcall MouseCoord(int X, int Y);
Description
Call MouseCoord to locate the column and row of the cell which contains a given screen coordinate. Usually, MouseCoord is used to locate the cell that is under the mouse.