检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李霞[1]
出 处:《广州大学学报(自然科学版)》2002年第4期57-59,共3页Journal of Guangzhou University:Natural Science Edition
摘 要:在一般应用软件中 ,文本输入是必不可少的 .如何让文本输入像画线、画圆、画椭圆一样简单方便 ,实现在视图中插入文本块 ?可将输入的文本看成是一个文本块 ,或者说是一个矩形 ,在矩形中完成文本的输入、修改、换行等操作 .这样 ,工作就转化为在视图中插入一个矩形 ,编程并让该矩形响应鼠标和键盘消息 ,从而实现文本块中文本的输入及各项操作 .具体通过VC ++中文档、视图之间数据交换和各自职能的特点以及C ++中面向对象的技术[1,2 ] ,实现了在视图中插入文本块的方法 .这里的文本块如其它的图形对象一样 ,可以选择、可以移动、可以修改、可以删除 .最后给出了实现结果的图片 .Text_inputting is necessary in general applications. It's the work of the paper to make text_inputting as convenient as drawing a line or drawing a circle. The purpose of the paper is to demonstrate an easy method of inputting_text_block in the view.Viewing the inputted text as a text block or a rectangle, you can realize the operation of input_text, modify_text, change_text, pedestrian of the text, etc. So the work was changed to insert a text_block in the view. With proper programming,you can make the rectangle respond to the message of the mouse or keyboard.The paper realized the method of inserting the text_block in the view with the feature of data exchange and operator of each other in document and view and object_orientation in C++. The text block can be selected, moved and deleted like the other object of picture. The result picture is presented in the end of the paper.
关 键 词:编程方法 文本块 矩形 面向对象 视图 文本输入 智能教育软件 文字处理
分 类 号:G434[文化科学—教育学] TP311.11[文化科学—教育技术学]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.127