📄 minigui 体系结构之二 多窗口管理和控件及控件类.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0082)http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml -->
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>MiniGUI 体系结构之二 多窗口管理和控件及控件类</TITLE><!-- ***** comments #1: Meta Information - can be editted ***** -->
<META http-equiv=Content-Type content="text/html; charset=GB2312">
<META content=index,follow name=ROBOTS>
<META
content="linux, linux tutorials, linux training, linux standards, linux code, linux resources, linux programming, open source standards, linux how to, IBM, linux 教程, linux 培训,Linux 文章, Linux 论文, linux 标准, Linux 白皮书 linux 代码, linux 参考资料, linux 编程, 开放源码标准"
name=KEYWORDS>
<META content="嵌入,MiniGUI,体系结构,多窗口管理,控件窗口 Z 序、窗口剪切、控件类,控件,输入法模块设计"
name=KEYWORDS>
<META
content="本文是 MiniGUI 体系结构系列文章的第二篇,重点介绍 MiniGUI 的多窗口机制以及相关的窗口类技术。其中涉及到窗口 Z 序、窗口剪切、控件类和控件以及输入法模块设计等等。"
name=ABSTRACT>
<META content=papers_html name=dWCategory>
<META content=Linux name=zone>
<META
content="本文是 MiniGUI 体系结构系列文章的第二篇,重点介绍 MiniGUI 的多窗口机制以及相关的窗口类技术。其中涉及到窗口 Z 序、窗口剪切、控件类和控件以及输入法模块设计等等。"
name=DESCRIPTION>
<META content=public name=SECURITY>
<META content=2000xxxx name="LAST UPDATED"><!-- ***** end Meta Information ***** --><!-- ***** DO NOT EDIT FOLLOWING CODE ***** -->
<SCRIPT language=JavaScript type=text/javascript><!-- function nav_pulldown(list) {top.document.location.href = list.options[list.selectedIndex].value;} function wB(){var br="BR";if((navigator.userAgent.indexOf('Mozilla')!= -1)&&((navigator.userAgent.indexOf('Spoofer')==-1)&&(navigator.userAgent.indexOf('compatible')==-1))){br="NS"}return br} function wV(br){var bv=0;bv=navigator.appVersion.substring(0,1);if(br=="IE"){(parseInt(bv));}if(br=="NS"){(parseInt(bv));}return bv;} function wP(){var os="OS";if(navigator.userAgent.indexOf("OS/2")!=-1){os='os/2'}return os;}b=wB();v=wV(b);o=wP(); function change_bgColor() {if (b=="NS" && v==2 && o != "os/2"){document.bgColor="#999999"}} function gotosite() {var L = document.formSpinbox.pickWW.selectedIndex; location.href = document.formSpinbox.pickWW.options[L].value; return false;}//--></SCRIPT>
<LINK href="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/style3.css" type=text/css
rel=stylesheet><!-- comments #2 --><!-- begin insert header includes -->
<META content="MSHTML 6.00.2800.1479" name=GENERATOR></HEAD>
<BODY aLink=#0000ff bgColor=#ffffff leftMargin=2 topMargin=2 marginwidth="2"
marginheight="2">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR bgColor=#006699>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=300 border=0>
<TBODY>
<TR bgColor=#006699>
<TD width=150><IMG height=25 alt=IBM
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/mast_logo.gif" width=150></TD>
<TD width=150
background="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/mgradient.gif"><FONT
face="arial, sans-serif" color=#99ccff
size=-1><B>China</B></FONT><BR><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif"
width=150></TD></TR></TBODY></TABLE></TD>
<TD align=left>
<TABLE cellSpacing=0 cellPadding=0 width=300 border=0>
<TBODY>
<TR>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/shop/cn"><IMG
height=25 alt=购物 src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/shopibm.gif"
width=100 border=0></A></TD>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/support"><IMG
height=25 alt=技术支持
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/support_chs.gif" width=100
border=0></A></TD>
<TD width=100><A
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/support/product"><IMG
height=25 alt=免费下载
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/downloads_chs.gif" width=100
border=0></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR bgColor=#000000>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<TR>
<TD width=150 bgColor=#006699><IMG height=21 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/mast_lnav_sp.gif"
width=150></TD>
<TD bgColor=#000000 colSpan=4>
<TABLE height=21 cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn"><B>IBM
主页</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/products"><B>产品</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/services"><B>咨询</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/industry"><B>行业</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/news"><B>新闻</B></A></TD>
<TD width=1 bgColor=#959595><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1></TD>
<TD align=middle width=79 bgColor=#000000 height=21><A
class=nav style="COLOR: #ffffff"
href="http://www-900.ibm.com/cgi-bin/click.p?url=http://www.ibm.com/cn/ibm"><B>关于
IBM</B></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD> <A
href="http://www-900.ibm.com/developerWorks/cn/index.html"><B>dW
中国站点</B></A><B> : </B><A
href="http://www-900.ibm.com/developerWorks/cn/linux/"
target=_top><B>Linux 概览</B></A><B> : </B><B><A
href="http://www-900.ibm.com/developerWorks/cn/cnpapers.nsf/linux-papers-bynewest?OpenView&count=500">文档库
- 论文</A></B></TD></TR>
<TR>
<TD width="100%"><IMG height=1 alt=""
src="D:\新建文件夹\MiniGUI 体系结构之二 多窗口管理和控件及控件类.files\c(1).gif" width=8></TD>
<TR>
<TD bgColor=#cc6633 height=3><IMG height=3 alt=""
src="D:\新建文件夹\MiniGUI 体系结构之二 多窗口管理和控件及控件类.files\c(1).gif" width=150></TD></TR>
<TR>
<TD bgColor=#333333 height=1><IMG height=1 alt=""
src="D:\新建文件夹\MiniGUI 体系结构之二 多窗口管理和控件及控件类.files\c(1).gif" width=150></TD></TR>
<TR>
<TD bgColor=#000000 height=1><IMG height=1 alt=""
src="D:\新建文件夹\MiniGUI 体系结构之二 多窗口管理和控件及控件类.files\c(1).gif"
width=150></TD></TR></TBODY></TABLE><!-- comments #2 -->
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD vAlign=top width=8><!-- gutter --><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=8></TD>
<TD vAlign=top><!-- ***** comments #5: enter the Title, subtitle, author name, job title, and month/year article was initially published ***** --><BR>
<P><STRONG class=title>MiniGUI 体系结构之二</STRONG><BR><STRONG
class=subtitle>多窗口管理和控件及控件类</STRONG></P>
<P>魏永明<BR>蓝点软件(北京)研发中心技术主管<BR>2001/01/06</P><!-- END title and author lines --><!-- Editor #5: Begin Table of Contents -->
<TABLE cellSpacing=0 cellPadding=0 width=137 align=right border=0>
<TBODY>
<TR>
<TD align=middle bgColor=#cc6633><FONT face=helvetica,helv,arial
color=#ffffff size=-1><B>目录:</B></FONT></TD></TR>
<TR>
<TD width="100%" bgColor=#000000><FONT face=helvetica,helv,arial
size=-3><IMG height=1 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1
border=0></FONT></TD></TR>
<TR>
<TD width="100%" bgColor=#ffffff><FONT face=helvetica,helv,arial
size=-3><IMG height=4 alt=""
src="MiniGUI 体系结构之二 多窗口管理和控件及控件类.files/c.gif" width=1
border=0></FONT></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#1"><FONT
face=helvetica,helv,arial size=-2>引言</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#2"><FONT
face=helvetica,helv,arial size=-2>窗口 Z 序</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#3"><FONT
face=helvetica,helv,arial size=-2>窗口剪切算法</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#4"><FONT
face=helvetica,helv,arial size=-2>主窗口和控件、控件类</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#5"><FONT
face=helvetica,helv,arial size=-2>输入法模块大设计</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#6"><FONT
face=helvetica,helv,arial size=-2>小结</FONT></A></TD></TR>
<TR>
<TD><A
href="http://www-900.ibm.com/developerWorks/cn/linux/embed/minigui/minigui-5/index.shtml#7"><FONT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -