Visual Basic Code , VB.NET Code, VB Code
  Home   :  Code   :  Forums   :  Submit   :  Mailing List   :  About   :  Contact


simple question


simple question

Author
Message
emi
emi
Forum God
Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)Forum God (732 reputation)

Group: Forum Members
Posts: 6, Visits: 1

Hi I’am a begainner in this vb and I don’t know how to use API, I need some one to explaine the following code as an example and if there any books or websits that explaine API please tell me


Private Declare Function SendMessage Lib "User32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long

i have many codes using api, but i can not creat one, this is my problem ..


Keithuk
Keithuk
Forum God
Forum God (298K reputation)

Group: Moderators
Posts: 1.9K, Visits: 5.5K
Go here you can download a newer API Viewer and an API-Guide which will show all API calls with a description and example.

http://www.mentalis.org/index2.shtml

Keith

I've been programming with VB for 17 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

Edited
10/17/2005 by Keithuk
jviper
jviper
Forum God
Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)Forum God (3.3K reputation)

Group: Forum Members
Posts: 10, Visits: 28
I think what that comand does, is send a command to somewhere else. For example: when you click and drag on the form, you can send that message to the Form Title bar, and it will act like you are dragging from the title bar. I don't knoe if this helps you any.

Jabstract: Don't just imagine, make it happen!
kwandobe
kwandobe
Forum God
Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)Forum God (5.8K reputation)

Group: Forum Members
Posts: 22, Visits: 4
That command sends a message to the corresponding window, such as telling the window to close, or pressing a button, it is also possible to change the text of a window using that API call.

I would suggest you buy or borrow VB6 for dummies by Wallace Wang. He has examples on a disk located in the back of the book which show you how to use API calls. Plus having a book is always good for reference, sometimes I even consult one of my books.

-kwandobe


GO


Similar Topics


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....

















A1VBCode Forums


Search