趋势
点击量
文档/视图
最近
 
Read More
2018年1月26日

Additional Combo MRU for Doc/View architecture

Download source files – 20.8 Kb Introduction

One day I had to create an SDI application that requires an MRU feature implemented in a combo box on the document form view. I’m not an advanced VC programmer so I don’t pretend that this is the best solution. This article is for beginners that search for such an example.

What is to be done ?

Create an usual [...]

7
 
Read More
2018年1月19日

Automatic Tab Bar for MDI Frameworks

Download demo project – 62 Kb Download source files – 31 Kb

<!– Article Starts –>

1. Introduction

This code implements MDI tab view for easy navigation. The views are supported on a control bar, which can be floated (of course docked!).

2. Implemented Features Control bar-based owner-drawn tab view. Supports fonts and color settings, [...]
3
 
Read More
2018年1月19日

Adding Most Recently Used (MRU) Files to an SDI/MDI Application

Download source files – 10 Kb Download demo project – 37 Kb

Introduction

The Most Recently Used (MRU) files list is standard feature of most Windows applications. This article describes how to add (MRU) support to Windows (SDI/MDI) application using the class CRecentFileList. CRecentFileList is a CObject class that supports control of the most recently used (MRU) [...]

6
 
Read More
2018年1月19日

Closing unused MDI documents with 1 line of code

Download source files – 1 Kb

This code closes the default “blank” document when an existing file is opened in a MFC MDI application (This behaviour can also be seen in Microsoft’s Word and Excel).

It works for files opened from File->Open… menu option and files opened from the MRU (most-recently-used) list.

Best of all, it only requires [...]

8
 
Read More
2018年1月19日

Switching to other views in a doc-view application

Introduction

In a previous article, we discussed how to replace views in a document-view application. The views to replace were destroyed, and new views were created to replace them. Sometimes it’s better to preserve the views and use them later rather than to destroy and recreate them. In this article, we show how to switch to other views without destroying the old ones, so we [...]

6
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Win2K
Javascript
.NET2.0
VC6
HTML
MFC
C#2.0
Architect
Advanced
第三方产品
VS2005
.NET1.1
VB
移动开发
VS.NET2003
产品展示
Win2003
Design
Wiki.ASP.NET articles
C#3.0
Mobile
企业系统
.NET3.5
开发生命周期
平台,框架&库
Ajax
.NET1.0
.NET Framework
VC7
XML
WebForms
VS2013
ASP.NET 控件
Android
.NET3.0
云计算
Vista
常规阅读
Ajax
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView
 
6
DayPilot Scheduler Control for ASP.NET
 
7
Using the FlowLayoutPanel and Reordering with Drag and Drop
 
8
Making an Audio Spectrum analyzer with Bass.dll, C# and Arduino – Part 2.
 
9
Managed ListView
 
10
Multiple Image Sizes for ToolStrip Items
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
XYDataGrid
 
3
Android Recycler View with Spinner Item Change Selection and Update UI
 
4
Bootstrap Persian DateTimePicker
 
5
Enhanced BrowseForFolder styled TreeView