This is a multi-part message in MIME format.
------=_NextPart_000_0002_01BCC695.555BFD50
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I think you should better use PostMessage, so that it is correctly =
translated for the control
Hello,=20
I have a grid and I would like to simulate a click on it with then API =
function sendmessage.=20
The code is the following :=20
Type POINTAPI=20
x as integer=20
y as integer=20
end Type=20
dim co as POINTAPI=20
co.X =3D 5000=20
co.Y =3D 400=20
retcode =3D SendMessage(grd.hwnd, WM_LBUTTONDOWN, MK_LBUTTON, co)=20
=20
Thany you for your suggestion !=20
P.S : Could you send me suggestions in my E-Mail. Thank you.=20
------=_NextPart_000_0002_01BCC695.555BFD50
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><HTML>
<META content=3D'"MSHTML 4.71.1008.3"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<P><FONT color=3D#000000 face=3DArial size=3D2> I think you should =
better use=20
PostMessage, so that it is correctly translated for the =
control</FONT></P>
<P>rachel savioz schrieb im Beitrag =
</P>Hello,=20
<P>I have a grid and I would like to simulate a click on it with then =
API=20
function sendmessage.=20
<P>The code is the following :=20
<P><FONT face=3D"Courier New,Courier"><FONT size=3D-1>Type =
POINTAPI</FONT></FONT>=20
<BR><FONT face=3D"Courier New,Courier"><FONT =
size=3D-1> x as=20
integer</FONT></FONT> <BR><FONT face=3D"Courier New,Courier"><FONT=20
size=3D-1> y as integer</FONT></FONT> <BR><FONT=20
face=3D"Courier New,Courier"><FONT size=3D-1>end Type</FONT></FONT><FONT =
face=3D"Courier New,Courier"><FONT size=3D-1></FONT></FONT>=20
<P><FONT face=3D"Courier New,Courier"><FONT size=3D-1>dim co as=20
POINTAPI</FONT></FONT><FONT face=3D"Courier New,Courier"><FONT=20
size=3D-1></FONT></FONT>=20
<P><FONT face=3D"Courier New,Courier"><FONT size=3D-1>co.X =3D =
5000</FONT></FONT>=20
<BR><FONT face=3D"Courier New,Courier"><FONT size=3D-1>co.Y =3D =
400</FONT></FONT>=20
<BR><FONT face=3D"Courier New,Courier"><FONT size=3D-1>retcode =3D=20
SendMessage(grd.hwnd, WM_LBUTTONDOWN, MK_LBUTTON, co)</FONT></FONT> =
<BR><FONT=20
face=3D"Courier New,Courier"><FONT size=3D-1></FONT></FONT> =20
<P>Thany you for your suggestion !=20
<P>P.S : Could you send me suggestions in my E-Mail. Thank you. =
</BODY></HTML>
------=_NextPart_000_0002_01BCC695.555BFD50--