随笔分类 - vc/com/atl
摘要:(1) char*转换成CString 若将char*转换成CString,除了直接赋值外,还可使用CString::Format进行。例如: char chArray[] = "This is a test";char * p = "This is a test"; 或 LPSTR p = "This is a test"; 或在已定义Unicode应的用程序中 TCHAR * ...
阅读全文
摘要:这个ie浏览器的问题搞了我很久了,主要是退格键的问题 参照的是codeproject上ie toolband 的代码,它也有中文乱码的问题 将原函数 [代码] 修改为 [代码]原因The TranslateMessage function does not modify the message pointed to by the lpMsg parameter....
阅读全文
摘要:1、消息映射的链接如果这个类是ATL窗口类,我们可以从这个窗口类派生自己的类,就象Base Class Chaining中描述的一样。代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--classCBase:publicCWindowImpl<C...
阅读全文
浙公网安备 33010602011771号