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

4
 
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, [...]
2
 
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) [...]

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

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

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