IMPLEMENT_BSTR_STOCKPROP

This macro implements text stock properties. Allocates a BSTR data member in your control class and copies pname into the data member. Creates a put and get method for the property, and adds code to notify and synchronize with the container if the property changes. Standard BSTR stock properties are Caption and Text.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

IMPLEMENT_BSTR_STOCKPROP( fname, pname, dispid )

See Also

ATL Macros and Global Functions, CStockPropImpl, IMPLEMENT_STOCKPROP, CComControl::m_bstrCaption, CComControl::m_bstrText