Re: How standard control class names are generated in VS2005
- From: Mattias Sjögren <mattias.dont.want.spam@xxxxxxxx>
- Date: Fri, 19 May 2006 07:29:15 +0200
Why this class name (format) is changed from VS2003? Will it be changed for
compiling application on each time? For some applications,in VS2003, the
class name is not changed for each build.
The class name isn't set at compile time, and VS has nothingto do with
it. The Windows Forms assembly handles the naming at runtime.
I don't know why it changed. But I consider it to be an implementation
detail that I shouldn't care about or rely on.
I am using some WIN32 APIs in my projecty for idendifying some controls.
For that I will have to pass class name as one of the parameter. I would like
that the method should be generic for both VS2003 and VS2005. For each
version ,I dont want to change the class name. Is there any generic way to
handle this issue?
Can't you look up the class name from the window handle (with the
GetClassName function)?
Mattias
--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
.
- References:
- Re: How standard control class names are generated in VS2005
- From: Mattias Sjögren
- Re: How standard control class names are generated in VS2005
- Prev by Date: Re: Database Connection - Development to Production
- Next by Date: Re: Dynamic type conversion
- Previous by thread: Re: How standard control class names are generated in VS2005
- Next by thread: Email classes for .Net
- Index(es):
Relevant Pages
|