RAD Studio |  |

Example: User-defined Messages

The following code shows two user-defined messages.

Copy Code

    const
      MY_MYFIRSTMESSAGE = WM_APP + 400;
      MY_MYSECONDMESSAGE = WM_APP + 401;

Copy Code

    #define MY_MYFIRSTMESSAGE  (WM_APP + 400)
    #define MY_MYSECONDMESSAGE (WM_APP + 401)

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!