Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > API > sendmessage ?? way to hard i think...help please


Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2001, 03:59 PM
supabill
Guest
 
Posts: n/a
Default sendmessage ?? way to hard i think...help please


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

Reply With Quote
  #2  
Old 02-03-2001, 03:10 AM
Jared Jared is offline
Centurion

Retired Moderator
* Guru *
 
Join Date: Oct 2000
Location: Ohio
Posts: 176
Default Re: sendmessage ?? way to hard i think...help please

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>
__________________
Jared
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->