Click to See Complete Forum and Search --> : How do I create an API?
Raistlin
July 12th, 2001, 11:52 AM
I need to develop some functionilty for my usercontrol that I am building. My boss wants it in an API call. I never used API calls before, but know a little about them. Can someone point me to a good referernces or show my some sample code.
Thank you
Raistlin
Iouri
July 12th, 2001, 12:09 PM
Go to
http://www.allapi.net/
You'' find there all available API that you can use in VB
Iouri Boutchkine
iouri@hotsheet.com
Clearcode
July 12th, 2001, 12:26 PM
You want your control to respond to custom messages?
This requires subclassing, to intercept the message and - for your own custom messages, use of the RegisterWindowsMessage() API.
Your best bet is to download the source code for the MCI Hotkey control from http://www.merrioncomputing.com/Download/index.htm as this example registers a new windows message and then shows how to intercept it in the VB_WindowProc() subroutine.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Raistlin
July 12th, 2001, 12:38 PM
Thank you for the heads up!!
Raistlin
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.