evc 4.0 相关的资料少得真是可怜,记录下来大家少走弯路,如果能够帮助你,我就很欣慰了

在Debug窗口输出信息,使用调试宏命令
DEBUGMSG(Expression, Message)
Expression 嗯,提示如果想输出就必须值为true,废话吧~我们可以当条件满足的时候输出信息~
Message就是输出信息,必须用()扩起来
看这个代码
DEBUGMSG(1,(_T("Key Code value is  %d.\n"),lpnmh->code));
注意Message的格式


ERRORMSG和这个类似,他还可以输出prefixed by the word ERROR and the current file and line number,
就是前缀是ERROR或者出错的文件和哪一行

相关文章:

  • 2021-07-12
  • 2021-04-25
  • 2021-06-06
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2021-09-10
  • 2022-02-20
  • 2022-12-23
  • 2021-05-26
  • 2021-10-02
  • 2022-02-12
  • 2021-07-29
相关资源
相似解决方案