BEGIN_MESSAGE_MAP and END_MESSAGE_MAP

From RAD Studio
Jump to: navigation, search

Go Up to sysmac.h Index

These two macros enclose a block where the message handling for a component is defined.


class PACKAGE TDBCalendar : public TSampleCalendar
  {
     private:
           void __fastcall CMExit(TWMNoParams Message);
     BEGIN_MESSAGE_MAP
           MESSAGE_HANDLER(CM_EXIT, TWMNoParams, CMExit)
     END_MESSAGE_MAP
   };

See Also