Cell coordinates based on current context and a window handle to a column.

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Rafael Kuzminski

Cell coordinates based on current context and a window handle to a column.

Post by Rafael Kuzminski » 04 Jul 2006, 15:08

 Posted by:  Rafael Kuzminski 

I looking for a function returning the cell coordinates. Found the
SalTblCellCoordFromPoint in the SalExtension.apl which "almost" solved it.

The problem is that I'm looking for something like SalTblCellCoordFromHandle
which should return the coordinates for a given column handle (using current
context) as the mouse coordinates are out of the scope in my case.

Anyone having a clue?

/R

micsto
Germany
Posts: 986
Joined: 07 Mar 2017, 16:07
Location: Germany

Re: Cell coordinates based on current context and a window handle to a column.

Post by micsto » 04 Jul 2006, 15:22

 Posted by:  Michael Stoll \(MICSTO\) 

If using a third party tool is an option for you, have a look at M!Table (
www.micsto.com ).
It provides the function MTblGetCellRectEx which returns the rectangle of a
specific cell ( column handle / row ).

Michael

Rafael Kuzminski

Re: Cell coordinates based on current context and a window handle to a column.

Post by Rafael Kuzminski » 04 Jul 2006, 15:52

 Posted by:  Rafael Kuzminski 

Well, I'm trying not to use a third party tool, unless absolutely necessary.
Sounds to me that this should be possible.somehow.using standard Win32 API's
or even maybe only using TD functions.

But thanks for the hint anyway.

/R

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 1 guest