Welcome![Sign In][Sign Up]
Location:
Search - mdi

Search list

[GDI-Bitmapbmp_in_mdiclient.zip

Description: 显示Bitmap图象为MDI Client窗口的背景
Platform: | Size: 59424 | Author: | Hits:

[SourceCodebcb_myiesrc.rar

Description: 使用TCppWebBrowser控件实现的浏览器,MDI窗体方式。 最主要的是有源代码,可以自己添加喜爱的功能。
Platform: | Size: 104609 | Author: | Hits:

[SourceCodemdi.rar

Description: 不错的程序
Platform: | Size: 34511 | Author: | Hits:

[Windows DevelopMDI 多视+窗口动态规划.zip

Description:
Platform: | Size: 314426 | Author: | Hits:

[GUI DevelopRaclient.zip

Description: 一个演示mdi用法的例子
Platform: | Size: 125172 | Author: | Hits:

[GUI Developtabstatus.zip

Description: 高级的UI- 在状态栏中MDI列表(和用户窗户目录对话框)
Platform: | Size: 63327 | Author: | Hits:

[ActiveX/DCOM/ATLAXDocContainer.zip

Description: 很好的MDI Container例子,如果想使用Excel等文档,可以借鉴此例子
Platform: | Size: 103331 | Author: | Hits:

[ToolBarSwitchTB.zip

Description: 在MDI子窗口间转换不同的工具条
Platform: | Size: 47841 | Author: | Hits:

[Graph Recognize车牌识别

Description:


需要注意的地方:

使用VC++6.0做开发工具, 采用简单的SDI框架结构 ,一次处理一幅位图(有兴趣的可以作成MDI)

1)位图信息的数据是从左下往右下为一行,一行一行往上排的。

2)每行像素应该是4的倍数,不足的地方用空点补齐,读的时候注意跳过冗余点。

3)主要数据都存在Doc里面,BMP的主要数据存在一个由ImgData指向的BYTE型的内存空间(根据位图的大小,动态分配的)。

4)数据读进来以后,注意向内存中贴图,以保证刷新的效率。

5)程序执行流程

应用程序生成--》打开--》CDipView的OnFileOpen 函数--》

调用CDipDoc的FileOpen 函数--》并使用myDoc->UpdateAllViews(NULL); 刷新

自动调用CDipView的OnPaint函数--》调用CDipView的OnDraw函数----一个像素点一个像素点的画

//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

比较重要的地方

读BMP文件,只能打开256色   (可以是灰度)

显示和内存贴图技术

关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。


关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文

windows下的MFC编程机制,消息驱动,事件等待!

全局的app(应用程序对象)

注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete

虽然已经弄出来了,还是希望大家好好读读源程序。

你们以后的工作:

在菜单中添加菜单项,通过ClassWizzard 生成消息响应函数(当然也可手动添加),
所有的操作应当是对 BYTE* ImgData;进行的。
在完成相应的功能后 将 isnewfile 和 isnewiamge 置为真 ,并使用myDoc->UpdateAllViews(NULL); 刷新

当然,可以更加有个性化一点,有能力的同学可以自己完成。
随着课程的进行,菜单功能逐渐丰富,最后完成基本的数字图像处理的功能,而不必最后一下完成一个大的作业。

 

 


Platform: | Size: 295054 | Author: tata80808 | Hits:

[GDI-BitmapGrphic

Description: C#实现的MDI简单画图程序. 体现了C#做MDI的编程思想. 可做一个例子进行详细填充. 只是里面有日文语句,怕中文机子不能顺畅运行.-C# realization MDI simple painting procedure Manifested C# to make MDI the programming thought May make an example to carry on the detailed packing Only is inside has the Japanese sentence, feared Chinese loom cannot smoothly move
Platform: | Size: 407729 | Author: 张平 | Hits:

[GUI DevelopMDI2Views

Description: MDI例子-MDI example
Platform: | Size: 50282 | Author: wangji | Hits:

[GUI DevelopStudent_MDI

Description: windows MDI例子-windows MDI example
Platform: | Size: 47190 | Author: wangji | Hits:

[Othermdicsharp

Description: CSharp的MDI窗口事例-CSharp examples of the MDI window
Platform: | Size: 42601 | Author: | Hits:

[Windows DevelopDemoMDI

Description: 關於view的MDI,裡面含有標尺定位-on the MDI view, it contains the standard positioning
Platform: | Size: 39062 | Author: 徐樊 | Hits:

[Othertreestore

Description: Tree views are capable of storing hierarchical data, which isn t intuitively serialized. The TreeStore sample is an MDI application which shows a view based on CTreeView and demonstrates loading and saving the content of the control with MFC s CArchive-based serialization. The code is also rife with calls to the item navagation routines of CTreeCtrl, including GetNextSiblingItem(), GetPrevSiblingItem(), and GetParentItem().
Platform: | Size: 42049 | Author: 陈伟 | Hits:

[Windows Developdllchildwnd

Description: MDI动态连接库-MDI Dynamic Link Library
Platform: | Size: 313780 | Author: 张易图 | Hits:

[OpenGL program2000112502805

Description: 在MDI中使用opengl-in MDI use opengl
Platform: | Size: 29756 | Author: 杨卿卿 | Hits:

[OpenGL programoglmdi2

Description: 类似VC MDI界面的Opengl程序,使得可在同一界面下显示多种视图。用dev-C++编译-similar VC Opengl MDI interface that allows the same interface can be shown under a variety of views. With dev - C compiler
Platform: | Size: 205982 | Author: 张扬 | Hits:

[Menu controlsubcls328

Description: 一个子类的源代码,包含菜单、MDI窗体背景等8个演示程序 -a subclass of the source code contains the menu, MDI Form 8 background Demonstration Program
Platform: | Size: 46500 | Author: 一个 | Hits:

[CSharpMyFirstGame1

Description: 一个比较完善的c#MDI文本编辑器,有诸如保存,更改字体,替换与查找(未完成),打印操作(未完成)等功能(A better c#MDI text editor, with functions such as saving, changing fonts, replacing and lookup (unfinished), printing (unfinished), and so on)
Platform: | Size: 11669504 | Author: panda_wang | Hits:
« 1 2 ... 10 11 12 13 14 1516 17 18 19 20 ... 50 »

CodeBus www.codebus.net