BCGControlBar Pro for MFC
CBCGPEdit::BrowseMode CBCGPEdit::GetMode ( ) const

Returns the current browse mode.


One of enumerated BrowseMode values indicated the current browse mode:

  • BrowseMode_None - browse button is disabled (hidden)
  • BrowseMode_Default - custom browse mode
  • BrowseMode_Calculator - calculator browse mode
  • BrowseMode_File - file browse mode
  • BrowseMode_Folder - shell folder browse mode
  • BrowseMode_PopupDialog - popup dialog mode

Use this method to retrieve the current browse mode of the edit control. The edit control is initialized with the BrowseMode_None mode (browse button is hidden). You have to call one of the following methods in order to enable a browse mode: CBCGPEdit::EnableCalculatorButton, CBCGPEdit::EnableFolderBrowseButton, CBCGPEdit::EnableFileBrowseButton, CBCGPEdit::EnableBrowseButton or CBCGPEdit::EnablePopupDialog.