IMPLEMENT_BOOL_STOCKPROP

This macro implements stock properties that are boolean values. Same as the IMPLEMENT_STOCKPROP macro except that the get method tests the value of the data member containing the property and returns VARIANT_TRUE or VARIANT_FALSE rather than returning the value. This lets containers that do not interpret all non-zero values as TRUE to use the property. Standard stock properties that are boolean values are Auto Size, Border Visible, Enabled, Tab Stop, and Valid.

At a Glance

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

Syntax

IMPLEMENT_BOOL_STOCKPROP( fname, pname, dispid )

See Also

ATL Macros and Global Functions, CStockPropImpl, IMPLEMENT_BSTR_STOCKPROP, IMPLEMENT_STOCKPROP