Where are on the web the WM constants ??

P

pamelafluente

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
 
T

Toff McGowen

Awesome. That site goes in my highly critiqued, "guard it like you would
your own children" favourites list.

tm
 
H

Herfried K. Wagner [MVP]

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/...mpleGuid=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>
 
P

pamelafluente

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 ?
 
H

Herfried K. Wagner [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top