BCGControlBar Pro for MFC
virtual CBCGPFileDialogEx* CBCGPWinApp::CreateFileDialog ( BOOL  bOpenFileDialog,
DWORD  dwFlags,
CBCGPFileDialogOptions pOptions 
)
protectedvirtual

This method is called by the framework when a themed File Dialog should be created.

Parameters
bOpenFileDialogSpecifies whether the file dialog is "Open" or "Save".
dwFlagsA list of standard OFN_ flags.
pOptionsA pointer to CBCGPFileDialogOptions object. If NULL, the default file dialog options will be used.
Returns
A pointer to CBCGPFileDialogEx object. Will be freed by the framework.

The default implementation creates CBCGPFileDialogEx object. Override this method if you need to use your own, CBCGPFileDialogEx-derived object instead.