void CBCGPToolBoxEx::EnableSearchBox | ( | BOOL | bEnable = TRUE , |
LPCTSTR | lpszPrompt = NULL , |
||
LPCTSTR | lpszOutOfFilter = NULL , |
||
BOOL | bSimplifiedIcon = FALSE |
||
) |
Shows or hides a search box.
Call this method to show or hide the search box located at the top of toolbox. When user types an item name or a part of item name, the toolbox displays only those items that match search criteria.
bEnable | TRUE - show search box; FALSE - hide search box. |
lpszPrompt | Specifies a prompt displayed in the box. |
lpszOutOfFilter | Specifies a text displayed in the toolbox when toolbox is empty (no items that match search criteria). |
bSimplifiedIcon | Specifies whether search box icon has a simpliflied look. |