The following code shows two user-defined messages.
const MY_MYFIRSTMESSAGE = WM_APP + 400; MY_MYSECONDMESSAGE = WM_APP + 401;
#define MY_MYFIRSTMESSAGE (WM_APP + 400) #define MY_MYSECONDMESSAGE (WM_APP + 401)