Hi John,
How do I assign a unique Id (like WM_USER+nnn) to a control?
I am not entirely clear about the meaning of "a unique Id on a WinForm
Control", could you please elaborate what do you want to do with that
unique Id?
Generally speaking, the .NET's WinForm controls do not like the traditional
Window 32 controls in an unmanaged application. In a .NET WinFrom
application, they are created as private member variables of their
contained WinForm class and use the "Name" property(the name of the
corresponding member variable) to identify themselves instead of a resource
ID(note: they are not resource items the .NET WinFrom project).
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Community Support
--------------------
Get Secure! ¡§C
www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn
This posting is provided "AS IS" with no warranties, and confers no rights.