BOOL CBCGPGridItem::AddOption | ( | LPCTSTR | lpszOption, |
BOOL | bInsertUnique = TRUE , |
||
DWORD_PTR | dwData = 0 |
||
) |
Adds a new option to an item.
Use this function to add a new string to an item 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. |