sendmessage ?? way to hard i think...help please

supabill
01-24-2001, 03:59 PM
need some help with send message. i used spy++ to find the handle of a box that i wanted to send to i tried to put this in quotes and put that in the first parameter but it never sends anything. my parameters were "handle",WM_SETTEXT,0,"hello" not sure what im doing wrong and the help file is useless anyhelp would be great thanks

Jared
02-03-2001, 03:10 AM
if you are using the SendMessage function be sure to put ByVal on the last parameter like this....

SendMessage lHwnd, WM_SETTEXT, 0, ByVal "Hello"


Jared Hoylman
Please visit VB Overdrive at <a href="http://vboverdrive.extreme-vb.net/main.php3" target="_new">http://vboverdrive.extreme-vb.net/main.php3</a>

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum