Re: Can objects have properties?
From: Doug Harrison [MVP] (dsh_at_mvps.org)
Date: 09/27/04
- Next message: Bonj: "Re: B-Tree advice needed"
- Previous message: Doug Harrison [MVP]: "Re: Template function parameters"
- In reply to: Arnie Mauer: "Can objects have properties?"
- Next in thread: Arnie Mauer: "Re: Can objects have properties?"
- Reply: Arnie Mauer: "Re: Can objects have properties?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 10:22:54 -0500
Arnie Mauer wrote:
>I'm using VC++ v8 beta. Haven't used VC++ for many years, v4.
>
>Can I create properties in a plain old class (non-visual)? I've been
>using Borland C++ Builder for many years. There, one can create
>public properties with setter/getter functions that can set/get a
>private variable as well as execute additional code which may change
>the state of the object.
I'm not sure what you mean by "visual" and "non-visual" classes, but
properties are a VC++ extension you can use in any class.
-- Doug Harrison Microsoft MVP - Visual C++
- Next message: Bonj: "Re: B-Tree advice needed"
- Previous message: Doug Harrison [MVP]: "Re: Template function parameters"
- In reply to: Arnie Mauer: "Can objects have properties?"
- Next in thread: Arnie Mauer: "Re: Can objects have properties?"
- Reply: Arnie Mauer: "Re: Can objects have properties?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|