By message you mean Windows Message?  WM_USER+X ?

Or you mean to pass a string which will be display in the console?