KillTimer&析构函数
摘要:
析构函数中不能用KillTimer, 原因:在析构函数中窗口已经不存在,所以KillTimer函数已经没有了窗口句柄,当然会出错 使用位置:BOOL DestroyWindow(void)函数中. 如: BOOL TestDlg::DestroyWindow() { // TODO: Add your specialized code here and/or call the base cla... 阅读全文
posted @ 2009-11-27 17:30 浔阳渔夫 阅读(841) 评论(0) 推荐(0) 编辑