Partager via


CPaneDialog::HandleInitDialog

Handles the WM_INITDIALOG message.

afx_msg LRESULT HandleInitDialog(
    WPARAM wParam,
    LPARAM lParam
);

Parameters

  • [in] wParam
    Handle to the control that is to receive the default keyboard focus.

  • [in] lParam
    Specifies additional initialization data.

Return Value

TRUE if this method is successful; otherwise, FALSE. In addition, TRUE sets the keyboard focus to the control specified by the wParam parameter; FALSE prevents setting the default keyboard focus.

Remarks

The framework uses this method to initialize controls and the appearance of a dialog box. The framework calls this method before it displays the dialog box.

Requirements

Header: afxpanedialog.h

See Also

Reference

CPaneDialog Class

Hierarchy Chart