2007年4月25日

Vista安装MSXML6 SDK失败?

摘要: 最近在Vista上安装 MSXML6 SDK 时候发现,尽管显示一切正常,安装完成。 但是无法找到具体安装位置。在xp下安装在 system disk:/program files/msxml 6/......... 但是在vista下无法找到类似位置。于是直接从xp把文件夹copy。 顺利完成... 阅读全文

posted @ 2007-04-25 16:55 norsd 阅读(123) 评论(0) 推荐(0)

2007年3月30日

DTD is prohibited!?

摘要: DTD is prohibited!? 许多人发出疑问:为什么我的XML文档,加入了DTD就无法解析? IXMLDOMParseError 返回的错误:DTD is prohibited. 更有许多人惊奇:我怎么没有出现这种情况。 ProhibitDTD Boolean F... 阅读全文

posted @ 2007-03-30 12:35 norsd 阅读(147) 评论(0) 推荐(0)

2007年3月29日

改变控件颜色问题

摘要: 改变控件颜色问题 改变控件颜色,一般都是响应一个反射的消息:ON_WM_CTLCOLOR_REFLECT (=WM_CTLCOLOR) 在不改变任何的情况下,函数如下: HBRUSH CMyEdit::CtlColor(CDC* pDC, UINT nCtlColor){ // TODO: C... 阅读全文

posted @ 2007-03-29 16:42 norsd 阅读(130) 评论(0) 推荐(0)

关于控件重载WM_PAINT消息

摘要: 控件重载WM_PAINT消息。 在WM_PAINT的重载中这样写道:Do not call CEdit::OnPaint() for painting messages //CPaintDC dc(this); // device context for painting // TODO: A... 阅读全文

posted @ 2007-03-29 15:01 norsd 阅读(181) 评论(0) 推荐(0)

2007年3月18日

结构 COMBOBOXINFO 的一些注意事项

摘要: 结构 COMBOBOXINFO 的一些注意事项 COMBOBOXINFO定义如下: typedef struct tagCOMBOBOXINFO { DWORD cbSize; RECT rcItem; RECT rcButton; DWORD stateButto... 阅读全文

posted @ 2007-03-18 00:37 norsd 阅读(258) 评论(0) 推荐(0)

SetWindowPos(...) 的一些注意事项。

摘要: 前些天在调整控件位置,总是出现非预想的错误。我完全没有注意到msdn关于参数的注释: hWnd [in] Handle to the window. hWndInsertAfter [in] Handle to the window to precede the positione... 阅读全文

posted @ 2007-03-18 00:15 norsd 阅读(184) 评论(0) 推荐(0)

2007年3月14日

控件字体问题

摘要: 控件:Combo Box 代码: static CFont font; font.CreateStockObject(ANSI_VAR_FONT); combo.SetFont(&font); 随后对 Combo Box 进行 AddString 操作。 字体将是 ANSI... 阅读全文

posted @ 2007-03-14 17:03 norsd 阅读(127) 评论(0) 推荐(0)

2006年10月10日

Gallary_JS

摘要: //SCRIPT_START//#include "atom.js"function _gallary( arrPhotoPath , doc){ this.arrPhotoPath = arrPhotoPath; this.doc = doc?doc:document; thi... 阅读全文

posted @ 2006-10-10 22:51 norsd 阅读(205) 评论(0) 推荐(0)

2006年10月9日

MainPage_JavascriptCodes

摘要: 阅读全文

posted @ 2006-10-09 19:26 norsd 阅读(173) 评论(0) 推荐(0)

2006年10月2日

Eassay_JS

摘要: //SCRIPT_START//Change Left Menu (Eassay)function ChangeEssayStyle(){ var oLeftMenu = document.getElementById("leftmenu"); var arrLi =oLeftMe... 阅读全文

posted @ 2006-10-02 00:29 norsd 阅读(251) 评论(0) 推荐(0)

导航