趋势
点击量
分割窗口
最近
 
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 [...]

6
 
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 = [...]
4
 
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 [...]

4
 
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) [...]
4
分类热度
Dev
C#
Intermediate
Windows
.NET
Visual-Studio
Web开发
桌面开发
ASP.NET
Beginner
WinXP
Javascript
Win2K
.NET2.0
HTML
VC6
C#2.0
MFC
Architect
Advanced
第三方产品
移动开发
VS2005
VB
.NET1.1
VS.NET2003
产品展示
Design
Mobile
Wiki.ASP.NET articles
Win2003
C#3.0
企业系统
.NET3.5
开发生命周期
平台,框架&库
.NET Framework
.NET1.0
Ajax
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