Поделиться через


CDialogImpl::DialogProc

This static function implements the dialog box procedure.

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

Параметры

  • 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.

Возвращаемое значение

TRUE if the message is processed; otherwise, FALSE.

Заметки

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.

Требования

Header: atlwin.h

См. также

Основные понятия

CDialogImpl Class

CDialogImpl Members

BEGIN_MSG_MAP