Share

CAdUiFileDialog::OnInitDialog

C++

BOOL OnInitDialog() override;

Description

This MFC-defined method is called during dialog initialization. The default handler calls OnInitDialogBegin(), then the inherited OnInitDialog() and then OnInitDialogFinish(). If tips are allowed then the tip windows are created via a call to SetUseTips(). If m_hIcon is NULL then a default icon is loaded (i.e. the first icon found in the application's executable file). The method returns the value returned from the call to the inherited OnInitDialog(), which is normally TRUE to allow Windows to set focus to the first control in the dialog or FALSE if the routine sets focus to some other control.

Links

CAdUiFileDialog

Was this information helpful?