趋势
点击量
分割窗口
最近
 
Read More
2018年1月27日

Implementing Rulers inside of Splitter Panes

Download source files – 4.24 Kb

Introduction

Many applications that display images or documents show rulers on both sides of the view to indicate your position within the page and allow a more accurate positioning of the cursor. Implementing rulers can be difficult, since we must reserve a space for them inside the view (this gets more difficult on a CScrollView-derived [...]

7
 
Read More
2018年1月27日

SplitterCtrl (flexible control with custom drawing)

Download demo project – 150.39 KB Download source – 45.79 KB

Introduction

This control is necessary for the partition of the dialog, main or child window of your program by several parts. You can appropriate to each part the window, which SplitterCtrl will manage. As a result we will get a matrix with the controls. The SplitterCtrl is derived from CWnd and is a [...]

5
 
Read More
2018年1月20日

Detect if window is split

<!– Article Starts –>

Many times it is necessary to know whether a view is currently split or not. This method will return TRUE if the view is split and FALSE if it is not. NOTE: It does NOT detect multiple views, so don’t use it to determine whether UpdateAllViews should be called!

int CMySplitterView::IsSplit(void) { CSplitterWnd * parent; parent = [...]
6
 
Read More
2018年1月20日

Highlight view with focus

<!– Article Starts –>

Many times it would be nice to have some visual feedback as to which pane in a split view currently has the focus. This is very useful if you have multiple view types and different keyboard strokes cause different actions in each.

NOTE: This uses an undocumented feature in MFC so be careful in the future.

Step 1) Derive your [...]

6
 
Read More
2018年1月20日

CUsefulSplitterWnd (an extension to CSplitterWnd)

Download demo project – 23 Kb Download source files – 3 Kb

The CUsefulSplitterWnd class presents two extensions to CSplitterWnd.

The first extension is the ability to lock the bar in position so that it can no longer be moved. // bar is locked using LockBar(TRUE) m_wndSplitter.LockBar(TRUE); // and is unlocked using LockBar(FALSE) [...]
6
分类热度
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
移动开发
.NET1.1
VB
VS.NET2003
产品展示
Design
Wiki.ASP.NET articles
Mobile
Win2003
C#3.0
企业系统
开发生命周期
.NET3.5
平台,框架&库
Ajax
.NET1.0
XML
.NET Framework
VC7
WebForms
ASP.NET 控件
Android
VS2013
.NET3.0
常规阅读
云计算
Ajax
Vista
最新评分
无内容,请浏览其它分类
十佳
点击量
 
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
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system
 
6
Create Visio Add-on VSL project with Toolbar, Menu and Command Handler
 
7
ListView in-line editing
 
8
Getting a CF_DIB or CF_METAFILEPICT from the clipboard and displaying it
 
9
The Drag and Drop interface samples
 
10
Extended Interface for Toolbars
周最高分
无内容,请浏览其它分类
十佳
点击量
 
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
Bootstrap Persian DateTimePicker
 
4
Copy/Paste For Databound Objects
 
5
A Transparent menu synchronizing system