|
-
Jun 3rd, 2005, 12:32 AM
#1
getting the constant values posted on msdn?
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
Last edited by MrPolite; Jun 3rd, 2005 at 01:11 PM.
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jun 3rd, 2005, 05:16 AM
#2
Re: getting the constant values posted on msdn?
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
-
Jun 3rd, 2005, 06:22 AM
#3
Re: getting the constant values posted on msdn?
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
-
Jun 3rd, 2005, 06:28 AM
#4
Re: getting the constant values posted on msdn?
 Originally Posted by Pino
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
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
Last edited by sciguyryan; Jun 3rd, 2005 at 06:32 AM.
-
Jun 3rd, 2005, 06:30 AM
#5
Re: getting the constant values posted on msdn?
 Originally Posted by Pino
Its just over 600kb when compressed
Compressed - 634 KB (649,837 bytes)
Txt File On Its Own - 3.10 MB (3,258,861 bytes)
-
Jun 3rd, 2005, 06:31 AM
#6
Re: getting the constant values posted on msdn?
 Originally Posted by Pino
Compressed - 634 KB (649,837 bytes)
Txt File On Its Own - 3.10 MB (3,258,861 bytes)

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
-
Jun 3rd, 2005, 07:41 AM
#7
Re: getting the constant values posted on msdn?
 Originally Posted by sciguyryan
Handy file to have. Thanks.
-
Jun 3rd, 2005, 07:46 AM
#8
Re: getting the constant values posted on msdn?
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.
-
Jun 3rd, 2005, 10:28 AM
#9
Software Eng.
Re: getting the constant values posted on msdn?
Or make a simple C program to do it for you:
Code:
#include <windows.h>
#include <stdio.h>
int main()
{
printf("%d", WM_MYMESSAGE);
return 0;
}
Or the alternative is to simply look them up in the C header files (windows.h, winbase.h, winnt.h etc.)
-
Jun 3rd, 2005, 10:34 AM
#10
Re: getting the constant values posted on msdn?
-
Jun 3rd, 2005, 11:33 AM
#11
Re: getting the constant values posted on msdn?
 Originally Posted by Megatron
Or make a simple C program to do it for you:
Code:
#include <windows.h>
#include <stdio.h>
int main()
{
printf("%d", WM_MYMESSAGE);
return 0;
}
Or the alternative is to simply look them up in the C header files (windows.h, winbase.h, winnt.h etc.)
Now this is very nice!
-
Jun 3rd, 2005, 01:11 PM
#12
-
Jun 3rd, 2005, 03:08 PM
#13
Re: getting the constant values posted on msdn?
Mr polite its in the mail
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|