I'm looking at this page on MSDN
http://msdn.microsoft.com/library/de...etnextitem.asp
how can I get the values for the constants they have? ie, LVNI_ALL
Printable View
I'm looking at this page on MSDN
http://msdn.microsoft.com/library/de...etnextitem.asp
how can I get the values for the constants they have? ie, LVNI_ALL
LVNI_ALL is:
VB Code:
Private Const LVNI_ALL As Long = &H0
The best way would be to download the APIViwere from the API Reference link in my signaute. It has most of the function definitions, constants and structures too :)
Cheers,
RyanJ
I have a win32 api text file with all the constants in. Its just over 600kb when compressed so if you want it I can email it to you, just PM me if you need it!
Pino
Quote:
Originally Posted by Pino
Are you shure, the one I have is nearly 3.11 Megabytes :S
It is here if anyone wants it: (Uploaded a minute ago)
http://www.webdevelopertutorials.com/VB/Win32api.zip
Cheers,
RyanJ
Compressed - 634 KB (649,837 bytes)Quote:
Originally Posted by Pino
Txt File On Its Own - 3.10 MB (3,258,861 bytes)
:eek:
Quote:
Originally Posted by Pino
Yes... That is quite a bit of difference.
I will leave that file there just incase anyone else wants it... I should probably zip it up though :)
Done, ZIP file uploaded :)
Cheers,
RyanJ
Handy file to have. Thanks. :)Quote:
Originally Posted by sciguyryan
Note: I downloaded Ryan's zip file and it contains API declares, Type Declares and Constants.
Because it is a pretty big file, I cut 'n pasted the Type declares into its own text file and the Consts into its own text file. It makes it a bit easier to find stuff.
Just a tip in case anyone is interested.
Or make a simple C program to do it for you:
Or the alternative is to simply look them up in the C header files (windows.h, winbase.h, winnt.h etc.)Code:#include <windows.h>
#include <stdio.h>
int main()
{
printf("%d", WM_MYMESSAGE);
return 0;
}
Google!
Now this is very nice!Quote:
Originally Posted by Megatron
ah some very nice replies!!!!! thanks so much :D
thanks to Megatron too, I didnt know you can get it by code:D
:thumb: :thumb: :thumb:
Mr polite its in the mail :)