CDialogImpl::DialogProc

This static function implements the dialog box procedure.

static LRESULT CALLBACK DialogProc(
   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

TRUE if the message is processed; otherwise, FALSE.

Remarks

DialogProc uses the default message map to direct messages to the appropriate handlers.

You can override DialogProc to provide a different mechanism for handling messages.

Requirements

Header: atlwin.h

See Also

Reference

CDialogImpl Class

BEGIN_MSG_MAP

Other Resources

CDialogImpl Members