Result是消息的返回值。Result为多少跟具体的消息有关系,在WIN32 API的帮助中有对每个消息的解释,其中包含了返回值的说明。比如: WM_GETTEXT: The return value is the number of TCHARs copied, not including the terminating null character. 返回值(Result)为复制的字符数目,不包括作为结束标志的空字符。WM_HSCROLL: If an application processes this message, it should return zero. 如果应用程序处理了该消息,它应该返回0。Result := 0
这个问题我想没有再清楚的解释了,可以给分了。
WM_GETTEXT: The return value is the number of TCHARs copied, not including the terminating null character. 返回值(Result)为复制的字符数目,不包括作为结束标志的空字符。WM_HSCROLL: If an application processes this message, it should return zero. 如果应用程序处理了该消息,它应该返回0。Result := 0