473,387 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Where are on the web the WM constants ??

Hi guys,

what are the best place on the web where I can find the list of all thh
constants like:
WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations)
.... etc ...

to be used for instance with:

Protected Overrides Sub WndProc(ByRef m As
System.Windows.Forms.Message)
'...
End Sub

Thank you very much in advance

-Pam

Jan 26 '06 #1
12 4909
http://msdn.microsoft.com

Win32 API under library link.

tm

<pa***********@libero.it> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi guys,

what are the best place on the web where I can find the list of all thh
constants like:
WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations)
... etc ...

to be used for instance with:

Protected Overrides Sub WndProc(ByRef m As
System.Windows.Forms.Message)
'...
End Sub

Thank you very much in advance

-Pam

Jan 26 '06 #2
This site is very useful. Try it!
http://www.pinvoke.net/

Karol Deland

"Toff McGowen" wrote:
http://msdn.microsoft.com

Win32 API under library link.

tm

<pa***********@libero.it> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi guys,

what are the best place on the web where I can find the list of all thh
constants like:
WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations)
... etc ...

to be used for instance with:

Protected Overrides Sub WndProc(ByRef m As
System.Windows.Forms.Message)
'...
End Sub

Thank you very much in advance

-Pam


Jan 27 '06 #3
Awesome. That site goes in my highly critiqued, "guard it like you would
your own children" favourites list.

tm

"Karol Deland" <Ka*********@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
This site is very useful. Try it!
http://www.pinvoke.net/

Karol Deland

"Toff McGowen" wrote:
http://msdn.microsoft.com

Win32 API under library link.

tm

<pa***********@libero.it> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
Hi guys,

what are the best place on the web where I can find the list of all thh constants like:
WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations) ... etc ...

to be used for instance with:

Protected Overrides Sub WndProc(ByRef m As
System.Windows.Forms.Message)
'...
End Sub

Thank you very much in advance

-Pam


Jan 27 '06 #4
Karol,

Thanks looks nice

Cor

"Karol Deland" <Ka*********@discussions.microsoft.com> schreef in bericht
news:0C**********************************@microsof t.com...
This site is very useful. Try it!
http://www.pinvoke.net/

Karol Deland

"Toff McGowen" wrote:
http://msdn.microsoft.com

Win32 API under library link.

tm

<pa***********@libero.it> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
> Hi guys,
>
> what are the best place on the web where I can find the list of all thh
> constants like:
> WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations)
> ... etc ...
>
> to be used for instance with:
>
> Protected Overrides Sub WndProc(ByRef m As
> System.Windows.Forms.Message)
> '...
> End Sub
>
> Thank you very much in advance
>
> -Pam
>


Jan 27 '06 #5
<pa***********@libero.it> schrieb:
what are the best place on the web where I can find the list of all thh
constants like:
WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations)
... etc ...


The most reliable way is to translate the '#define's in the according header
files. The name of the header file containing the define is listed in the
documentation.

My ActiveVB-coworker Christoph von Wittich provides an API viewer that can
export declares/... for VB.NET:

ApiViewer
<URL:http://www.apiviewer.de/>

English translation:

ApiViewer (en)
<URL:http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html>

Ken Tucker [MVP] wrote an add-in for VS.NET 2003:

VB API Viewer 2003
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=673d6b40-3b9b-46a7-a958-a25f4e87568a>

pinvoke.net is a web-based collaborative wiki that collects declares/... for
different .NET programming languages:

pinvoke.net: the interop wiki!
<URL:http://www.pinvoke.net/>

If you don't want to struggle with the declares yourself, you can use this
library:

A Win32 Library for .NET
<URL:http://www.codeproject.com/csharp/win32.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 27 '06 #6
thank you!! I have taken a look at:
http://www.pinvoke.net/default.aspx/...indowsMessages

impressive!

But isn't there a place where each one of these is explained, besides
than a list?

-Pam

Jan 27 '06 #7

pa***********@libero.it wrote:
thank you!! I have taken a look at:
http://www.pinvoke.net/default.aspx/...indowsMessages

impressive!

But isn't there a place where each one of these is explained, besides
than a list?


The MSDN Library.

--
Larry Lard
Replies to group please

Jan 27 '06 #8
Thank you very much for this resource !!

I just installed it!
PS
I saw that within the environment listed there is no .NET.
Is it the same to use vb6 ?

Jan 27 '06 #9
<pa***********@libero.it> schrieb:
I just installed it!

PS
I saw that within the environment listed there is no .NET.


What did you install?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Jan 27 '06 #10
it's called API viewer 2004.

Got the wrong one?

-Pam

Jan 27 '06 #11
<pa***********@libero.it> schrieb:
it's called API viewer 2004.

Got the wrong one?


AFAIK it doesn't integrate with VS.NET, but in the ApiViewer's "Options"
dialog the programming language can be selected.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Jan 27 '06 #12
Thank you all,

you are always so helpful !

-Pam

Jan 28 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
by: 2obvious | last post by:
I've been trying to create read-only global variables by creating constants (Const) in my global.asa, but I can't seem to reference them. Sticking them in an include works fine, but it seems more...
6
by: stuie_norris | last post by:
Hi Group, I am trying to define a strucutre of constants. Then switch on this structure of constant values. In the following example of my problem the code fails to compile due to: case...
4
by: Amadelle | last post by:
Hi all and thanks again in advance, What is the best way of defining global constants in a C# application? (A windows application with no windows forms - basically a set of classes). Would it be...
2
by: ason | last post by:
Does anybody know where to find all these API Constants like for example LVCFMT_BITMAP_ON_RIGHT = 4094; // = 0x1000 Are these Constants in any *.h files???? thanks ..::AsOn
6
by: PC | last post by:
Gentlesofts, Forgive me. I'm an abject newbie in your world, using VB 2005 with the dot-Net wonderfulness. So, I'm writing a wonderful class or two to interface with a solemnly ancient...
17
by: Neil Cerutti | last post by:
The Glk API (which I'm implementing in native Python code) defines 120 or so constants that users must use. The constants already have fairly long names, e.g., gestalt_Version, evtype_Timer,...
0
by: Barry Newberger | last post by:
I am working on a Outlook COM project. For some reason win32com.client.constants quit working between runs of one of my test scripts. It's supposed to acquire attributes for all constants...
1
by: Noah | last post by:
I'm trying to match against Event.type for KeyPress and ButtonPress. Currently I'm using integer constants (2 and 4). Are these constants defined anywhere? The docs talk about KeyPress and...
2
by: Jack | last post by:
Hi, Performance-wise, is there a difference between these 2 clauses? I assume a large database... 1) With the WHERE clause: Select FLD1, FLD2, FLD3 From myFile Where FLD1 = 1 And FLD2 = 1
54
by: shuisheng | last post by:
Dear All, I am always confused in using constants in multiple files. For global constants, I got some clues from http://msdn.microsoft.com/en-us/library/0d45ty2d(VS.80).aspx So in header...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.