Sendmessage 
Author Message
 Sendmessage

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>&nbsp;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>&nbsp;&nbsp;&nbsp; x as=20
integer</FONT></FONT> <BR><FONT face=3D"Courier New,Courier"><FONT=20
size=3D-1>&nbsp;&nbsp;&nbsp; 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>&nbsp;=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--



Thu, 09 Mar 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Question about SendMessage(EM_CANUNDO) and SendMessage(EM_UNDO)

2. VB3 "SendMessage" to VB4 "SendMessage" - please help

3. MSKB SendMessage Q209948

4. SendMessage or SendObject??

5. api SendMessage wm_copydata

6. receive sendmessage

7. .Net equivalent for SendMessage?

8. Using SendMessage with strings

9. SendMessage

10. SendMessage Function in VB.NET?

11. SendMessage - what am I doing wrong?

12. Bug in SendMessage???

 

 
Powered by phpBB® Forum Software