PDA

Click to See Complete Forum and Search --> : getting handle for windows by VB coding


altctldel
Dec 21st, 2000, 07:12 AM
I want to know what is the datatype to be used to get a handle for window.

win32 api function have their own datatype.
eg. SC_HANDLE,LPCSTR,TChar
In general i want to know where or how can i get corresponding VB datatype and how to use that in VB coding in calling win32 api function.

Thanx in advance.

amitabh
Dec 21st, 2000, 07:40 AM
The datatype for a handle is Long in VB paralance. If you have API viewer, just copy the the required Api and it will automatically give you the converted datatypes. If you need more information on the corresponding datatypes, see http://www.vbapi.com .