9eFish - 带有 mfc 标签的文章
1
臭虫

CodeProject: Log Edit Demo. Free source code and programming help

RiverRiver 发表于 64 天, 21 小时, 24 分钟 之前
Tuesday, January 12, 2010 2:02:29 AM GMT Monday, January 04, 2010 12:18:04 PM GMT
Have you seen the output window of Developer Studio? It is actually an edit box, but you cannot write anything to it, it scrolls automatically and the cursor blinks at the end of the last line. Even AutoCAD has a similar command window. So, how do we make a similar control for our own applications? Read on...Background Using only a CEdit class will not solve the problem. So, we have to derive a class from CEdit and add the necessary l... (more)
类别: Smart Client | 点击: 2 | 评论 | | 源: www.codeproject.com
标签: cedit, log, mfc
1
臭虫

CodeProject: Rich Text Drawing,Printing Preview and Printing to Paper (GDI only). Free source code and programming help

RiverRiver 发表于 72 天, 18 小时, 55 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:46:51 PM GMT
Download source files - 22.25 KB Download demo project - 9.24 KB Introduction "Why the drawing and printing preview of my rich text work fine,but when I tried to print to paper,it cann't work?" I had found that there are many people asked for this question many many times,I hope this article and codes can help you.This small application demoed how to draw rich text on the canvas,and then you can print preview or print to paer with the same look.Full source codes are contained within the zip file.Th... (more)
类别: Smart Client | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: code project, mfc, rich text
1
臭虫

CodeProject: Dialog with HTML skin using CDHtmlDialog and SetWindowRgn. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 9 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:32:34 PM GMT
Download project (VC++ 7.1) - 110 KbDownload executable (MFC 7.1 static linked) - 175 Kb Figure. 1 The demo dialog with HTML skin Introduction This program demonstrates how to use CDHtmlDialog and SetWindowRgn functions to give a dialog non-rectangular HTML skins. If you are familiar with HTML, it will be faster than other ways to deal with beautiful skins. The idea comes from the article, "Gimme Some Skin... VideoSkins", but I use CDHtmlDialog instead. There was an article, "Create Skins from Ordinar... (more)
类别: Smart Client | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: HTML, mfc
1
臭虫

CodeProject: XHTMLStatic - An Extra-Lean Custom Control to Display HTML. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 20 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:21:46 PM GMT
Download demo project - 103.1 KBIntroduction There are many places in an application where nice text formatting will give your software a polished look — like in about-boxes, splash screens, and even registration dialogs. When I look into how to do this, I find these alternatives:Rich edit control — This is by far the toughest to use, since it involves a very complicated API and custom code — unless you are willing to learn RTF. (I don't know about you, but all those backslashes make me dizzy.) CodeProj... (more)
类别: Smart Client | 点击: 0 | 1 评论 | | 源: www.codeproject.com
标签: HTML, mfc
1
臭虫

CodeProject: The HTML Report Engine. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 21 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:20:34 PM GMT
Download demo project - 37 KbDownload source - 16.4 Kb Sample HTML Report HTML Report Generator - Sample Application Screenshot Introduction The HTML Report Engine is a .NET class library which helps in generating well formatted HTML reports. It can take any DataSet as its report source. Reports can have sectional data contents and bar charts.Background Crystal Reports is a reporting tool that comes along with VS.NET, but designing and deploying a Crystal Reports report in your application is a bi... (more)
类别: Smart Client | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: HTML, mfc
1
臭虫

CodeProject: Capture an HTML document as an image. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 24 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:17:39 PM GMT
Download source files - 4 KbDownload demo project - 44 Kb written by Jubjub[^] Introduction My application allows limited editing of HTML pages using MSHTML. Each HTML page is based on a template file and the range of things the end user can do to that template file is limited. At no time is the user able to create an empty HTML page. So obviously there has to be a mechanism in my application to allow the user to select which template a new page should be based on. I wanted to present the u... (more)
类别: Smart Client | 点击: 1 | 评论 | | 源: www.codeproject.com
标签: HTML, mfc
1
臭虫

CodeProject: WTL integration of Lightweight HTML layout and rendering engine. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 26 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:16:08 PM GMT
Download demo application and HTML samples - 372 KbDownload HtmLayout SDK including sources of WTL and MFC wrappers and demos - 804 Kb Introduction It is very natural that in the Internet era, more and more applications are getting "Web Style" HTML alike user interfaces. HTML pictorial graphic UI attracts users and gives them an impression of lightness and easiness of tasks they need to accomplish using the software. Let us think about HTML as not only a way to describe screen layout with active (hype... (more)
类别: Smart Client | 点击: 0 | 评论 | | 源: www.codeproject.com
标签: HTML, mfc
1
臭虫

CodeProject: XHtmlDraw - Draw text with HTML tags and anchor links. Free source code and programming help

RiverRiver 发表于 72 天, 19 小时, 28 分钟 之前
Wednesday, January 06, 2010 1:44:07 AM GMT Sunday, December 27, 2009 2:14:12 PM GMT
Download demo project - 95 Kb Introduction It's been five years since I introduced my XHtmlStatic control, which has turned out to be useful in many projects I have worked on. The one place where I cannot use XHtmlStatic is where a CWnd-based control would not work - for example, as a line of text in a tree control. In these situations you obviously do not want to create (and reposition!) many windows. For this reason I have created XHtmlDraw, which renders HTML at any arbitrary point in a... (more)
类别: Smart Client | 点击: 0 | 1 评论 | | 源: www.codeproject.com
标签: HTML, mfc