摘要: BOOL CMyDlg::PreTranslateMessage(MSG* pMsg) {// TODO: Add your specialized code here and/or call the base classif (pMsg->message == WM_NCLBUTTONDOWN){pMsg->message = WM_LBUTTONDOWN;}return CDial... 阅读全文
posted @ 2010-04-07 21:37 傲衣华少 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 本来这个本身没太大的问题,在初始化窗口 如 oninitdialog,oncreate和关闭窗口 如onclose的时候,调用AnimateWindow即可实现窗口的动态效果打开和关闭。但是:(转下面一段话)编译时出现的问题 在实现动画窗口的程序时,笔者发现如果直接在VC中使用AnimateWindow函数,在编译时会报告出错。以上述程序为例,在编译时系统会报告: 'AnimateWindow' ... 阅读全文
posted @ 2010-04-07 21:27 傲衣华少 阅读(690) 评论(0) 推荐(0) 编辑
摘要: 前缀    隐含的数据类型   说明   b     BOOL       实际为整型   by     BYTE       无符号字符   c     char         字符   dw     DWORD     无符号长型   fn     function       函数   h     HANDLE     无符号整型   i     integer       整数   l ... 阅读全文
posted @ 2010-04-07 16:24 傲衣华少 阅读(184) 评论(0) 推荐(0) 编辑