VC界面可编辑LISTCTRL控件,下拉菜单-VC LISTCTRL editing interface control, the drop-down menu 下载
|
全屏显示是一些应用软件程序必不可少的功能。比如在用VC++编辑工程源文件或编辑对话框等资源时,选择菜单“View\Full Screen”,即可进入全屏显示状态,按“Esc”键后会退出全屏显示状态。-full screen display is the number of application software programs essential to the function. For example, in the VC + + editing projects source document or edit dialog and other resources, the choice menu "View \ Full Screen", which can be accessed in full-screen state, according to the "Esc" key will be to withdraw from full-screen display status. 下载
|
用vc实现模态和非模态对话框的建立,首先需要输入一条口令,设置为1925,接着在编辑菜单下调用文本编辑对话框和非模态对话框.在文本对话框中可以设置字体,颜色,字型.在非模态对话框下,可以实现数据的输入,显示到文档上.对于vc初学者,此程序是个不错的例子.-with vc achieve modal and non-Modal Dialog established, the first to enter a password. set to 1925. then under the edit menu text editor called dialog and non-Modal Dialog. in the text box can set font, Colors, Fonts. in non-Modal Dialog, we can achieve data input, display of a document. vc for beginners this program is a good example. 下载
|
1 程序开发步骤如下 (1) 打开vc,选择菜单项file->new,选择projects选项并建立一个名为"floppy"的win32 console applicatoin工程;创建时注意指定创建该工程的目录; (2) 在工程中创建源文件"floppy.cpp":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是"floppy.cpp";在接下来询问是否创建新文件时回答"yes";然后通过Workspace->FileView->Source Files打开该文件,在其中编辑本程序的源代码;编辑结束后通过菜单项File->Save进行保存; (3) 同(2)步骤再加入文件"floppy.h"; (4) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug->floppy.exe程序;现在即可以运行该程序;由于没有命令行参数,故不必在控制台下来运行,直接运行即可; 2 补充说明 这里仅仅给出了编译结果和源程序,没有所创建工程的其他文件。-a step in the development process as follows (1) Open vc, select menu item file-gt; New, choose projects and the establishment of an option called "floppy" win32 console applicatoin works; Attention to create designated to create the directory of the project; (2) create the works Source "floppy.cpp" : Select menu item project-gt; add to project-gt; files, the choice of their own box to create the file name, here is the "floppy.cpp"; the next question asks whether the creation of new documents to answer "yes" ; then Workspace - gt; FileView - gt; Source Files to open the document, in which the editor of the programs source code; after editing through a menu item File-gt; Save for preservation; (3) with (2) further steps inserted in the document & 下载
|
window下的生产者消费者程序 1、实验环境 本实验是在win2000+VC6.0环境下实现的,利用Windows SDK编制实例程序。所以试验需要在windows下安装VC后进行。VC是一个集成开发环境,其中包含了Windows SDK所有工具和定义;所以安装了VC后就不用特意安装SDK了。 2、实现步骤 (1) 打开VC,选择菜单项file->new,选择projects选项卡并建立一个名为" R_WP1"的win32 console applicatoin工程;创建时注意指定创建该工程的目录; (2) 在工程中创建源文件" R_WP1.cpp":选择菜单项project->add to project->files,在选择框中输入自己想要创建的文件名,这里是" R_WP1.cpp";在接下来询问是否创建新文件时回答"yes";然后通过Workspace->FileView->Source Files打开该文件,在其中编辑源文件并保存. (3) 通过调用菜单命令项build->build all进行编译连接,可以在指定的工程目录下得到debug-> R_WP1.exe程序,然后把给定的test.txt文件存入该debug目录下,就可以在控制台进入该debug目录运行程序了。需要强调的是在创建数据文件时,由于涉及到文件格式问题,最好在记事本中手工逐个输入数据,而不要拷贝粘贴数据。-window of a producer consumer procedures, experimental environment in the experimental WIN2000 + VC6.0 environment to achieve, and Using Windows SDK examples of the preparation procedures. Therefore, the need to test windows installed after the VC. VC is an integrated development environment, which contains all the tools in Windows SDK and definitions; So, the VC not specially installed after the SDK. 2, the realization of steps (a) to open VC, select menu item file - 下载
|
用OpenGL实现展开地球的三维动画 打包说明:打包软件为winzip,其中paper.zip为正文压缩文件,解压后 为word2000环境下的正文文件paper.doc,program.zip为源程序压缩文件,解压后为VC++6.0环境下的工程文件OpenEarth.dsp等系列程序...及作为纹理使用的位图文件Wordmp.bmp 程序使用说明 解压program.zip为源程序压缩文件,将opengl32.lib glu32.lib glaux.lib等库文件拷贝到...\VC98\Lib\目录下。 1.用VC6.0启动Openearth.dsw, 2.按下述步骤添加OpenGL库:从[Project]菜单中选择[Settings...]选项,将弹出Project Settings对话框。在该对话框中选择Link标签,在“Object/Libray Module”编辑框中加入“opengl32.lib glu32.lib glaux.lib”,单击OK按钮。 3. 用菜单Build\!Execute Openearth.exe项建立并运行Openearth.exe文件 4. 观看效果,由于程序使用GetCurrentTime函数,动画可能从中间开始展开,全部展开后,又从头从球形开始展开。 直接运行Openearth.exe。-start using OpenGL 3D animation Earth packaged Note : packaged software winzip. which paper.zip compression for text documents, unpacked word2000 environment for the body of documents paper.doc, program.zip source of compressed files, unpacked VC 6.0 environment for the engineering documents OpenEarth.dsp series of procedures ... and for Texture for the use of bitmap file Wordmp.bmp use procedures for extracting program.zip source compressed files, will opengl32.lib glu32.lib glaux.lib other library copy of the document .. . \ VC98 \ Lib \ directory. 1. Start with VC6.0 Openearth.dsw. 2. the following steps to add OpenGL library : from [Project] menu, choose [Settings ...] options will Project Settings dialog pop. In the dialog box choose Link label, in "Object / Libray Module" e 下载
|