SQACSharp,
RegisterWindowsMessage is used for custom windows messages that you want
to register on the system. It is not used for pre-defined windows messages.
You want to look in winuser.h for windows messages typically. For
controls which define their own message values, you would have to look in
the header file for that control.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"SQACSharp" <ls*********@hotmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
Is there any way to get the int value of a specific WM_ message ??
ex:
private const int WM_CLOSE = 16;
private const int WM_SETTEXT = 12;
....
but where i can find the int value for WM_GETCONTROLNAME ??? Is it
documented somewhere??
Is the function RegisterWindowsMessage can be use to retrieve this
value??? I need this value since i want to use SendMessage function to
get a controlName from another application.
Thanks,