what event is raised?

G

Guest

What event is raised when you click on the upper part of a form?(the one with
the control box and title...) because it doesn't respond to MouseDown or
Click events (they are only raised when I click on the rest of the form).
Thank you!
 
A

Adrian

Hi!
Try Spy++ and you'll see what event is raised.
Hope that helps.
Best regards.
 
G

Guest

Hello again!
I've tride Spy++ but I cannot figure anything out. I'll try a workaround,
and see what happens. Thank you anyway!
 
G

Guest

Thank you very much!...I wouldn't have ever figured it out...
My question is: How can I get handles (if they're even called that) for
other events?...
I've seen this approach in another code snippet. And in MSDN library, I
found this:

' Constant value was found in the "windows.h" header file.
Private Const WM_ACTIVATEAPP As Integer = &H1C
Can i get the other constants from the same file? Is there any documantation
regarding this?
Thank you again!
MT
 
H

Herfried K. Wagner [MVP]

tzake said:
My question is: How can I get handles (if they're even called that) for
other events?...
I've seen this approach in another code snippet. And in MSDN library, I
found this:

' Constant value was found in the "windows.h" header file.
Private Const WM_ACTIVATEAPP As Integer = &H1C
Can i get the other constants from the same file? Is there any
documantation
regarding this?

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>
 

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