ClistCtrl DoubleClick Hit Column???
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, i am trying to find out which column and row i hit, when i made a doubleclick on a cctrllist. To get the row is no problem, i simply make a hit test with the coordinates of the message source. DWORD dw = GetMessagePos(); CPoint p(GET_X_LPARAM(dw), GET_Y_LPARAM(dw)); list.ScreenToClient(&p); int row = list.HitTest(p); int col = ???? thanks
-
Hi, i am trying to find out which column and row i hit, when i made a doubleclick on a cctrllist. To get the row is no problem, i simply make a hit test with the coordinates of the message source. DWORD dw = GetMessagePos(); CPoint p(GET_X_LPARAM(dw), GET_Y_LPARAM(dw)); list.ScreenToClient(&p); int row = list.HitTest(p); int col = ???? thanks