文件名称:SingleWindowDialog

  • 所属分类:
  • 图形图象
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 1.87mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 姚**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

本程序实现的是单文档窗口程序,用户通过菜单打开一个对话框Dialog,在其中文本框输入文本,并单击“确定”按钮,在客户区输出相应文本

除此之外,还能实现定位输出文本:当单击“查看”->“Center”时文本将居中显示,当单击Left时文本将以左对齐显示,单击Right时文本将以右对齐显示,同时选择的菜单前将加上核对标记。





本实例用到的主要知识有:刷新视图的函数Invalidate()、创造字体的函数CreateFontIndirect()、CDC类处理文本的函数、输出文本的函数等、-The program implementation is a single document window procedure, the user through the menu opens a dialog box Dialog, in which the text box to enter text, and click " OK" button, the text in addition to the corresponding output of the client area, but also to achieve positioning output Text: When you click " View" -> " Center" will be centered when the text shows that when the text will left-click the Left aligned when displayed, click the Right time right-aligned text will be displayed at the same time before the menu selection with check mark. Main knowledge used in this instance are: Refresh the view function Invalidate (), create a font function CreateFontIndirect (), CDC class of text processing functions, output functions such as text,
(系统自动生成,下载前可以参看下载内容)

下载文件列表

SingleWindowDialog\MainFrm.cpp

..................\MainFrm.h

..................\MyDialog.cpp

..................\MyDialog.h

..................\RCa02436

..................\ReadMe.txt

..................\resource.h

..................\SingleWindowDialog.aps

..................\SingleWindowDialog.clw

..................\SingleWindowDialog.cpp

..................\SingleWindowDialog.dsp

..................\SingleWindowDialog.dsw

..................\SingleWindowDialog.h

..................\SingleWindowDialog.ncb

..................\SingleWindowDialog.opt

..................\SingleWindowDialog.plg

..................\SingleWindowDialog.rc

..................\SingleWindowDialogDoc.cpp

..................\SingleWindowDialogDoc.h

..................\SingleWindowDialogView.cpp

..................\SingleWindowDialogView.h

..................\StdAfx.cpp

..................\StdAfx.h

..................\程序说明.txt

..................\res\SingleWindowDialog.ico

..................\...\SingleWindowDialog.rc2

..................\...\SingleWindowDialogDoc.ico

..................\...\Thumbs.db

..................\...\Toolbar.bmp

..................\Debug\MainFrm.obj

..................\.....\MyDialog.obj

..................\.....\SingleWindowDialog.exe

..................\.....\SingleWindowDialog.ilk

..................\.....\SingleWindowDialog.obj

..................\.....\SingleWindowDialog.pch

..................\.....\SingleWindowDialog.pdb

..................\.....\SingleWindowDialog.res

..................\.....\SingleWindowDialogDoc.obj

..................\.....\SingleWindowDialogView.obj

..................\.....\StdAfx.obj

..................\.....\vc60.idb

..................\.....\vc60.pdb

..................\res

..................\Debug

SingleWindowDialog

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org