BOOL CBCGPProp::AddOption | ( | LPCTSTR | lpszOption, |
BOOL | bInsertUnique = TRUE , |
||
DWORD_PTR | dwData = 0 |
||
) |
Adds a new option to a property.
Use this function to add a new string to a property that contains a combo box with a list of text strings (options).
If bInsertUnique flag is set to FALSE, the option specified by lpszOption will be added in any case.
lpszOption | Specifies the text string containing the option to add. |
bInsertUnique | If this flag is TRUE, then only unique items are inserted. |
dwData | A data value associated with the option. |