Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where are on the web the WM constants ??

97 views
Skip to first unread message

pamela...@libero.it

unread,
Jan 26, 2006, 4:48:30 PM1/26/06
to
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

Toff McGowen

unread,
Jan 26, 2006, 5:48:39 PM1/26/06
to
http://msdn.microsoft.com

Win32 API under library link.

tm

<pamela...@libero.it> wrote in message
news:1138312110....@o13g2000cwo.googlegroups.com...

Karol Deland

unread,
Jan 26, 2006, 9:50:01 PM1/26/06
to
This site is very useful. Try it!
http://www.pinvoke.net/

Karol Deland

Toff McGowen

unread,
Jan 26, 2006, 10:13:27 PM1/26/06
to
Awesome. That site goes in my highly critiqued, "guard it like you would
your own children" favourites list.

tm

"Karol Deland" <Karol...@discussions.microsoft.com> wrote in message
news:0C76E50A-6C3F-4F07...@microsoft.com...

Cor Ligthert [MVP]

unread,
Jan 27, 2006, 1:31:02 AM1/27/06
to
Karol,

Thanks looks nice

Cor

"Karol Deland" <Karol...@discussions.microsoft.com> schreef in bericht
news:0C76E50A-6C3F-4F07...@microsoft.com...

Herfried K. Wagner [MVP]

unread,
Jan 27, 2006, 6:52:46 AM1/27/06
to
<pamela...@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/>

pamela...@libero.it

unread,
Jan 27, 2006, 6:55:17 AM1/27/06
to
thank you!! I have taken a look at:
http://www.pinvoke.net/default.aspx/Enums.WindowsMessages

impressive!

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

-Pam

Larry Lard

unread,
Jan 27, 2006, 7:10:57 AM1/27/06
to

The MSDN Library.

--
Larry Lard
Replies to group please

pamela...@libero.it

unread,
Jan 27, 2006, 7:50:40 AM1/27/06
to
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 ?

Herfried K. Wagner [MVP]

unread,
Jan 27, 2006, 2:40:24 PM1/27/06
to
<pamela...@libero.it> schrieb:

> I just installed it!
>
> PS
> I saw that within the environment listed there is no .NET.

What did you install?

Message has been deleted

Herfried K. Wagner [MVP]

unread,
Jan 27, 2006, 3:53:27 PM1/27/06
to
<pamela...@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.

pamela...@libero.it

unread,
Jan 27, 2006, 7:41:25 PM1/27/06
to
Thank you all,

you are always so helpful !

-Pam

0 new messages