趋势
点击量
文档/视图
最近
 
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 [...]

5
 
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) [...]

5
 
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 [...]

5
 
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 [...]

5
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Javascript
Win2K
.NET2.0
HTML
VC6
MFC
C#2.0
Architect
Advanced
第三方产品
移动开发
VS2005
VB
.NET1.1
VS.NET2003
产品展示
Design
Mobile
Wiki.ASP.NET articles
Win2003
C#3.0
企业系统
开发生命周期
.NET3.5
平台,框架&库
.NET1.0
Ajax
.NET Framework
XML
VC7
WebForms
Android
VS2013
ASP.NET 控件
.NET3.0
云计算
常规阅读
Vista
Android
最新评分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker
 
6
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
7
ListView in-line editing
 
8
Extended Interface for Toolbars
 
9
Bobril – Integration to Another Web Application
 
10
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
周最高分
无内容,请浏览其它分类
十佳
点击量
 
1
XP Style Navigation Bar Server Control with collection property and embedded resources
 
2
Android Recycler View with Spinner Item Change Selection and Update UI
 
3
A Transparent menu synchronizing system
 
4
Copy/Paste For Databound Objects
 
5
Bootstrap Persian DateTimePicker