Win32 constant values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm just starting out learning .NET and have come across an issue working
with Win32 API calls. I'm coding in C# and need to use the
'EM_GETFIRSTVISIBLELINE' message constant. Through searching around I saw
that this value is 0xCE. My question is where can this be found as well as
other message constants?

Don Lee

PS I've searched through MSDN and the Win32 API but couldn't find these
constants listed. Perhaps I'm overlooking something?
 
I'm just starting out learning .NET and have come across an issue working
with Win32 API calls. I'm coding in C# and need to use the
'EM_GETFIRSTVISIBLELINE' message constant. Through searching around I saw
that this value is 0xCE. My question is where can this be found as well as
other message constants?

If you have the Platform SDK installed you can find them by searching
the header files in the Include directory.

If not, try searching www.pinvoke.net or Google.



Mattias
 
Hi Don,

Try doing a search in the;

'C:\Program Files\Microsoft Visual Studio 8 Beta 2\VC\PlatformSDK'

Or your equivalent of, specifically *.h files. I've found all the Win32
constants and types there myself. Don't let the C++ syntax put you off.

SpotNet
 
Back
Top