Home All Groups Group Topic Archive Search About

Where are on the web the WM constants ??

Author
26 Jan 2006 9:48 PM
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

Author
26 Jan 2006 10:48 PM
Toff McGowen
http://msdn.microsoft.com

Win32 API under library link.

tm

<pamelaflue***@libero.it> wrote in message
Show quoteHide quote
news:1138312110.317769.94790@o13g2000cwo.googlegroups.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
>
Author
27 Jan 2006 2:50 AM
Karol Deland
This site is very useful. Try it!
http://www.pinvoke.net/

Karol Deland

Show quoteHide quote
"Toff McGowen" wrote:

> http://msdn.microsoft.com
>
> Win32 API under library link.
>
> tm
>
> <pamelaflue***@libero.it> wrote in message
> news:1138312110.317769.94790@o13g2000cwo.googlegroups.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
> >
>
>
>
Author
27 Jan 2006 3:13 AM
Toff McGowen
Awesome. That site goes in my highly critiqued, "guard it like you would
your own children" favourites list.

tm

Show quoteHide quote
"Karol Deland" <KarolDel***@discussions.microsoft.com> wrote in message
news:0C76E50A-6C3F-4F07-8669-5A450B9E2580@microsoft.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
> >
> > <pamelaflue***@libero.it> wrote in message
> > news:1138312110.317769.94790@o13g2000cwo.googlegroups.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
> > >
> >
> >
> >
Author
27 Jan 2006 6:31 AM
Cor Ligthert [MVP]
Karol,

Thanks looks nice

Cor

Show quoteHide quote
"Karol Deland" <KarolDel***@discussions.microsoft.com> schreef in bericht
news:0C76E50A-6C3F-4F07-8669-5A450B9E2580@microsoft.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
>>
>> <pamelaflue***@libero.it> wrote in message
>> news:1138312110.317769.94790@o13g2000cwo.googlegroups.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
>> >
>>
>>
>>
Author
27 Jan 2006 11:55 AM
pamelafluente
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
Author
27 Jan 2006 12:10 PM
Larry Lard
pamelaflue***@libero.it wrote:
> 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?

The MSDN Library.

--
Larry Lard
Replies to group please
Author
27 Jan 2006 11:52 AM
Herfried K. Wagner [MVP]
<pamelaflue***@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/>
Author
27 Jan 2006 12:50 PM
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 ?
Author
27 Jan 2006 7:40 PM
Herfried K. Wagner [MVP]
<pamelaflue***@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/>
Author
27 Jan 2006 8:46 PM
pamelafluente
it's called API viewer 2004.

Got the wrong one?

-Pam
Author
27 Jan 2006 8:53 PM
Herfried K. Wagner [MVP]
<pamelaflue***@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/>
Author
28 Jan 2006 12:41 AM
pamelafluente
Thank you all,

you are always so helpful !

-Pam