TYPE Point
x AS LONG
y AS LONG
END TYPE
TYPE HD_HITTESTINFO
pt AS LONG
flags AS LONG
iItem AS LONG
END TYPE
DIM PointStr AS QMEMORYSTREAM
DIM Point AS Point
Point.x = 789
point.y = 123
PointStr.WriteUDT(Point)
DIM HitTestInfo AS HD_HITTESTINFO
HitTestInfo.pt = Pointstr.Pointer
idcolumn1= SENDMESSAGEa(hh, HDM_HITTEST,0, M_HDPointer)
TYPE HD_HITTESTINFO
x AS LONG
y AS LONG
flags AS LONG
iItem AS LONG
END TYPE
DIM HitStr AS QMEMORYSTREAM
DIM HitTestInfo AS HD_HITTESTINFO
HitTestInfo.x = 789
HitTestInfo.y = 123
Hitstr.WriteUDT(HitTestInfo)
idcolumn1= SENDMESSAGEa(hh, HDM_HITTEST,0, HitStr.Pointer)
|