rainbowzc

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: :: :: 管理 ::

2007年10月7日

摘要: 至于设置richedit背景比较简单: void CreatRichEdit() { m_richedit.CreateES_AUTOVSCROLL|ES_MULTILINE|ES_WANTRETURN|WS_VISIBLE,rect,pWnd,1) m_richedit.SetBackgroundColor( FALSE,RGB(0,0,255)); m_richedit.SetFocus( ); } m_richedit.SetBackgroundColor( FALSE,RGB(0,0,255));//这句话就够了 阅读全文
posted @ 2007-10-07 23:31 ct 阅读(242) 评论(0) 推荐(0) 编辑

摘要: 适用于:Microsoft Visual Studio 2005摘要:Visual Studio 2005 是目前业内一流的开发工具,我想在此与大家分享一些使用技巧和窍门,使这个优秀的开发工具更显威力。要充分利用一个工具,关键是要熟悉它,开发工具和 IDE 也不例外。不过,有了 C# 2.0、ASP .NET 2.0、Windows Workflow Foundation、Windows Presentation Foundation 和 Windows Communication Foundation 等等许多新技术,谁又会花费时间来了解 Visual Studio 本身呢?花费 10 分钟 阅读全文
posted @ 2007-10-07 22:33 ct 阅读(287) 评论(0) 推荐(0) 编辑

摘要: 一般性问题1. 代码编译通过了,运行后RichEdit控件不显示,在InitInstance中添加BOOL CWinApp::InitInstance (){…AfxInitRichEdit();- RichEdit 1.0或 AfxInitRichEdit2(); - RichEdit 2.0…}2. 升级默认的RichEdit版本,默认的版本有BUG,在InitInstance中添加BOOL CWinApp::InitInstance (){…LoadLibrary("RICHED20.DLL");…FreeLibrary();}如果是CRichEditView基类的话 阅读全文
posted @ 2007-10-07 22:30 ct 阅读(2188) 评论(0) 推荐(0) 编辑