void CBCGPEdit::EnableBrowseButton | ( | BOOL | bEnable = TRUE , |
LPCTSTR | szLabel = _T("...") |
||
) |
Enables or disables the browse button.
Use this method to enable or disable the browse button. If you set bEnable to TRUE, you'll need to derive a class from CBCGPEdit and override CBCGPEdit::OnBrowse in order to execute a custom browse action.
If you set bEnable to FALSE, the browse button will be removed from the edit control.
bEnable | Adds or removes the browse button to/from the edit control. |
szLabel | A text string to be displayed on the browse button (for example, "..."). |