CDialogImpl::StartDialogProc

Called only once, when the first message is received, to process messages sent to the dialog box.

static LRESULT CALLBACK StartDialogProc(
   HWND hWnd,
   UINT uMsg,
   WPARAM wParam,
   LPARAM lParam 
);

Parameters

  • hWnd
    [in] The handle to the dialog box.

  • uMsg
    [in] The message sent to the dialog box.

  • wParam
    [in] Additional message-specific information.

  • lParam
    [in] Additional message-specific information.

Return Value

The window procedure.

Remarks

After the initial call to StartDialogProc, DialogProc is set as a dialog procedure, and further calls go there.

Requirements

Header: atlwin.h

See Also

Reference

CDialogImpl Class

CDialogImpl::DialogProc

Other Resources

CDialogImpl Members