1 2 3 4 5 6 7 8 9 10 11 12
| BEGIN_MESSAGE_MAP(MaDialogBar, BaseClass/*=CWSDialogBar*/)
ON_WM_CREATE ()
ON_MESSAGE (WM_INITDIALOG, HandleInitDialog)
ON_COMMAND (IDC_BILANEXEC_USEDATE, OnUseDate)
ON_UPDATE_COMMAND_UI (IDC_BILANEXEC_USEDATE, OnUpdateDateButton)
ON_UPDATE_COMMAND_UI (IDC_COMBO_BILANEXEC_SINCE, OnUpdateDateCtrl)
ON_NOTIFY (DTN_DATETIMECHANGE, IDC_BILANEXEC_USEDATE, OnDateChange) // the date time ctrl capture the enter key, so we must handle the change
ON_CBN_SELCHANGE (IDC_COMBO_BILANEXEC_PLACENEGO, OnSelchangePlace)
ON_BN_CLICKED (IDC_BE_VALID, OnOK)
ON_UPDATE_COMMAND_UI (IDC_COMBO_BILANEXEC_VALUE, OnSelChangeValue)
END_MESSAGE_MAP() |