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


CWnd::Default

Calls the default window procedure.

LRESULT Default( );

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

Depends on the message sent.

Заметки

The default window procedure provides default processing for any window message that an application does not process. This member function ensures that every message is processed.

Пример

// This sample shows how to avoid any button handling in base class,
// if any, and call the default window procedure directly.
void CMyDlg::OnLButtonDown(UINT nFlags, CPoint point)
{
   UNREFERENCED_PARAMETER(nFlags);
   UNREFERENCED_PARAMETER(point);

   CWnd::Default();
}

Требования

Header: afxwin.h

См. также

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

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::DefWindowProc

DefWindowProc