Show: Object Pascal C++
Display Preferences

BEGIN_MESSAGE_MAP and END_MESSAGE_MAP

From Appmethod Topics
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

Personal tools
In other languages