Re: Can objects have properties?
From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 09/27/04
- Next message: Carl Daniel [VC++ MVP]: "Re: Can objects have properties?"
- Previous message: Igor Tandetnik: "Re: Strange behaviour of linker (vc++)"
- In reply to: Arnie Mauer: "Re: Can objects have properties?"
- Next in thread: Carl Daniel [VC++ MVP]: "Re: Can objects have properties?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 15:16:50 -0400
"Arnie Mauer" <xxx@nowhere.net> wrote in message
news:eom06%23LpEHA.3876@TK2MSFTNGP15.phx.gbl
> IMHO, properties are a useful and powerful concept. One nice thing
> about them is that you can set various property values of an object at
> design time. Drop an object on your form and set its properties.
> This is in lieu of using methods at runtime.
If that's the kind of properties you are after, then no, VC does not
support them for native C++ classes. __declspec(property) just gives you
a bit of syntactic sugar, nothing more than that. If you want properties
that you can manipulate at design time, you need to write either ActiveX
controls or .NET managed components.
--
With best wishes,
Igor Tandetnik
"On two occasions, I have been asked [by members of Parliament], 'Pray,
Mr. Babbage, if you put into the machine wrong figures, will the right
answers come out?' I am not able to rightly apprehend the kind of
confusion of ideas that could provoke such a question." -- Charles
Babbage
- Next message: Carl Daniel [VC++ MVP]: "Re: Can objects have properties?"
- Previous message: Igor Tandetnik: "Re: Strange behaviour of linker (vc++)"
- In reply to: Arnie Mauer: "Re: Can objects have properties?"
- Next in thread: Carl Daniel [VC++ MVP]: "Re: Can objects have properties?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|