亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? 313-317.html

?? WindowsCE.[Essential Windows CE Application Programming].Jon Wiley & Son.zip
?? HTML
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
<!-- LEFT NAV SEARCH END -->

		</td>
		
<!-- PUB PARTNERS END -->
<!-- END LEFT NAV -->

<td rowspan="8" align="right" valign="top"><img src="/images/iswbls.gif" width=1 height=400 alt="" border="0"></td>
<td><img src="/images/white.gif" width="5" height="1" alt="" border="0"></td>
<!-- end of ITK left NAV -->

<!-- begin main content -->
<td width="100%" valign="top" align="left">


<!-- END SUB HEADER -->

<!--Begin Content Column -->

<FONT FACE="Arial,Helvetica" SIZE="-1">
To access the contents, click the chapter and section titles.
</FONT>
<P>
<B>Essential Windows CE Application Programming</B>
<FONT SIZE="-1">
<BR>
<I>(Publisher: John Wiley & Sons, Inc.)</I>
<BR>
Author(s): Robert Burdick
<BR>
ISBN: 0471327476
<BR>
Publication Date: 03/01/99
</FONT>
<P>
<form name="Search" method="GET" action="http://search.earthweb.com/search97/search_redir.cgi">

<INPUT TYPE="hidden" NAME="Action" VALUE="Search">
<INPUT TYPE="hidden" NAME="SearchPage" VALUE="http://search.earthweb.com/search97/samples/forms/srchdemo.htm">
<INPUT TYPE="hidden" NAME="Collection" VALUE="ITK">
<INPUT TYPE="hidden" NAME="ResultTemplate" VALUE="itk-simple-intrabook.hts">
<INPUT TYPE="hidden" NAME="ViewTemplate" VALUE="view.hts">

<font face="arial, helvetica" size=2><b>Search this book:</b></font><br>
<INPUT NAME="queryText" size=50 VALUE="">&nbsp;<input type="submit" name="submitbutton" value="Go!">
<INPUT type=hidden NAME="section_on" VALUE="on">
<INPUT type=hidden NAME="section" VALUE="http://www.itknowledge.com/reference/standard/0471327476/">

</form>


<!-- Empty Reference Subhead -->

<!--ISBN=0471327476//-->
<!--TITLE=Essential Windows CE Application Programming//-->
<!--AUTHOR=Robert Burdick//-->
<!--PUBLISHER=John Wiley & Sons, Inc.//-->
<!--IMPRINT=Wiley Computer Publishing//-->
<!--CHAPTER=12//-->
<!--PAGES=313-317//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="../ch11/310-312.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="317-320.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Chapter 12<BR>The HTML Viewer Control
</FONT></H2>
<P><BIG><BIG>T</BIG></BIG>he advent of the Internet and the World Wide Web have led to dramatic changes in the basic functionality of computer operating systems. Microsoft&#146;s Win32-based operating systems are no exception. Windows NT, Windows 98, and Windows CE are all very comfortable with providing users with the ability to browse the Internet and display data in all of the various new formats that this medium has generated.</P>
<P>Applications such as Pocket Internet Explorer, the Microsoft Windows CE Web browser, can display hypertext markup language (HTML) documents containing formatted text and images just like their desktop Web browser counterparts.</P>
<P>HyperText Markup Language, or HTML, has always been an important part of the Internet. One of the simplest ways to display HTML in Windows CE applications is with the HTML viewer control provided with Windows CE. This control is in fact used by Pocket Internet Explorer for viewing HTML pages. As we will see, adding HTML rendering capabilities to your Windows CE applications can be easily done with the HTML viewer control.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>AFTER COMPLETING THIS CHAPTER YOU WILL KNOW HOW TO &#133;</B>
<DL>
<DD><B>Use the HTML viewer control to display HTML documents</B>
</DL>
<HR></FONT>
</BLOCKQUOTE>
<H3><A NAME="Heading2"></A><FONT COLOR="#000077">Overview of the HTML Viewer Control</FONT></H3>
<P>The Windows CE HTML viewer control is not a child control. Therefore it is not part of the Graphics, Windowing, and Event Subsystem. Nor is it part of COMMCTRL.DLL. That means it does not get loaded along with the tree view and trackbar controls when you call <I>InitCommonControls</I>.</P>
<P>The HTML viewer control resides in its very own dynamic link library, called HTMLVIEW.DLL. To use the control, applications must either explicitly link with the DLL&#146;s import library, HTMLVIEW.LIB, or dynamically link with HTMLVIEW.DLL by loading the DLL at run-time.</P>
<P>Next, before using the HTML viewer control, applications must initialize it by calling <I>InitHTMLControl</I>. This is a function, exported by HTMLVIEW.DLL, that is responsible for registering the control&#146;s window class. After calling <I>InitHTMLControl</I>, applications are free to create instances of the control. In these respects, the design of this control closely resembles the custom control we designed in the previous chapter.</P>
<P><FONT SIZE="+1"><B>Control Features</B></FONT></P>
<P>The HTML viewer control provides very basic (and I mean <I>very</I> basic) functionality for viewing HTML documents. As we will soon see, the control leaves many of the details of navigating between HTML links, displaying images, and playing sounds to the application that contains the control.</P>
<P>First and foremost, it is important to keep in mind that the control is only an HTML viewer. It does not provide HTML editing capabilities.</P>
<P>Next, the HTML viewer control interprets HTML and displays data in the correct format. The control understands all the standard HTML tags, and displays text in the correct sizes and styles based on those tags.</P>
<P>As an example, Figure 12.1 shows the HTML viewer control&#146;s rendering of the following HTML file:</P>
<!-- CODE SNIP //-->
<PRE>
   &lt;h1&gt;The HTML Viewer Control&lt;/h1&gt;
   &lt;h4&gt;Welcome to the &lt;a href="\Windows\wince.htm"&gt;Windows
     CE&lt;/a&gt;&lt;/h4&gt;
   &lt;h4&gt;control for displaying HTML&lt;/h4&gt;
</PRE>
<!-- END CODE SNIP //-->
<P><A NAME="Fig1"></A><A HREF="javascript:displayWindow('images/12-01.jpg',480,240 )"><IMG SRC="images/12-01t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/12-01.jpg',480,240)"><FONT COLOR="#000077"><B>Figure 12.1</B></FONT></A>&nbsp;&nbsp;The HTML viewer control at work.</P>
<P>The only work the application had to do was send the HTML text to the control. The HTML viewer control takes care of the rest.
</P>
<P>The situation is not quite so pleasant in the case of images or sound references in an HTML document. For example, the HTML viewer control does not automatically render GIF files referenced in a document. Nor does it automatically play sound files.</P>
<P>If we add a line to the top of the sample HTML file referencing an inline GIF image, the HTML viewer control displays the file as shown in Figure 12.2:</P>
<!-- CODE SNIP //-->
<PRE>
   &lt;IMG SRC="\Windows\home.gif"&gt;
   &lt;h1&gt;The HTML Viewer Control&lt;/h1&gt;
   &lt;h4&gt;Welcome to the &lt;a href="\Windows\wince.htm"&gt;Windows  CE&lt;/a&gt; &lt;/h4&gt;
   &lt;h4&gt;control for displaying HTML&lt;/h4&gt;
</PRE>
<!-- END CODE SNIP //-->
<P><A NAME="Fig2"></A><A HREF="javascript:displayWindow('images/12-02.jpg',480,240 )"><IMG SRC="images/12-02t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/12-02.jpg',480,240)"><FONT COLOR="#000077"><B>Figure 12.2</B></FONT></A>&nbsp;&nbsp;The HTML Viewer Control displaying an image.</P>
<P>The HTML viewer control only sends a notification to its parent window when it reads a reference to an image from an HTML file. It is the responsibility of the application to then convert the image file to a Windows CE bitmap. The application must then send the appropriate message to the control telling it to display the bitmap representation of the original image file.
</P>
<P>The HTML viewer control will also notify its parent when a user has tapped on a hypertext link. It is again, however, the application&#146;s responsibility to follow the link. That is, the application must respond to this notification by loading the referenced file and telling the HTML viewer control to display it.</P>
<P>At first this seems like a major limitation of the control. But it does make sense for the application, not the control, to do this work. A particular instance of the HTML viewer control has no idea if the HTML documents it is being asked to render are stored locally on the Windows CE device or are coming from a live Internet connection. The application has all of this context information and should therefore be responsible for supplying the data to the control in the correct form.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B><B>T<SMALL>HE</SMALL> N<SMALL>AMES</SMALL> S<SMALL>HOULD</SMALL> H<SMALL>AVE</SMALL> B<SMALL>EEN</SMALL> C<SMALL>HANGED</SMALL> <SMALL>TO</SMALL> P<SMALL>ROTECT</SMALL> <SMALL>THE</SMALL> I<SMALL>NNOCENT</SMALL></B>
<P><B>You will notice that all of the HTML viewer control message names begin with DTM_. This is somewhat confusing, because the message names for the date time picker control start with DTM_ as well.</B><HR></FONT>
</BLOCKQUOTE>
</P>
<H3><A NAME="Heading3"></A><FONT COLOR="#000077">The Sample Application</FONT></H3>
<P>Our discussion of the HTML viewer control is motivated by the sample application HTML.EXE. This application, which can be found in \Samples\html on the companion CD, illustrates many of the features provided by the HTML viewer control.
</P>
<P>HTML.EXE implements a basic HTML file viewer. It allows a user to view any HTML file on the file system of a Windows CE device (or the emulation file system if run in the emulator). Two simple HTML files, sample.htm and wince.htm, are provided. These files must be placed in the device or emulator file system under the \Windows directory. See the section on &#147;Viewing the Windows CE Object Store&#148; in the introduction to Part II for a description of how to transfer files using the Remote Object Viewer.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="../ch11/310-312.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="317-320.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>


<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->

<!-- BEGIN SUB FOOTER -->
		<br><br>
		</TD>
    </TR>
	</TABLE>

		
	<table width="640" border=0 cellpadding=0 cellspacing=0>
		<tr>
		<td align="left" width=135><img src="/images/white.gif" width=100 height="1" alt="" border="0"></td>
		
		
<!-- END SUB FOOTER -->

<!-- all of the books have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->

<!-- FOOTER -->
			
		<td width="515" align="left" bgcolor="#FFFFFF">
<font face="arial, helvetica" size="1"><b><a href="/products.html"><font color="#006666">Products</font></a>&nbsp;|&nbsp; <a href="/contactus.html"><font color="#006666">Contact Us</font></a>&nbsp;|&nbsp; <a href="/aboutus.html"><font color="#006666">About Us</font></a>&nbsp;|&nbsp; <a href="http://www.earthweb.com/corporate/privacy.html" target="_blank"><font color="#006666">Privacy</font></a> &nbsp;|&nbsp; <a href="http://www.itmarketer.com/" target="_blank"><font color="#006666">Ad Info</font></a> &nbsp;|&nbsp; <a href="/"><font color="#006666">Home</font></a></b>
		<br><br>
		
		Use of this site is subject to certain <a href="/agreement.html">Terms &amp; Conditions</a>, <a href="/copyright.html">Copyright &copy; 1996-1999 EarthWeb Inc.</a><br> 
All rights reserved.  Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.</font><p>
</td>
		</tr>
</table>
</BODY>
</HTML>

<!-- END FOOTER -->

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕在线不卡一区| 亚洲电影欧美电影有声小说| 欧洲一区二区av| 国产一区欧美日韩| 亚洲第一搞黄网站| 日韩毛片一二三区| 久久久亚洲午夜电影| 欧美日韩国产综合草草| 成人一二三区视频| 免费欧美在线视频| 亚洲一区二区在线免费看| 国产欧美日韩综合精品一区二区| 欧美人妖巨大在线| 色94色欧美sute亚洲线路一久| 国产美女精品人人做人人爽| 丝袜诱惑制服诱惑色一区在线观看| 中文字幕五月欧美| 中文字幕精品三区| 国产亚洲欧洲997久久综合| 9191久久久久久久久久久| 91蝌蚪porny| 成人黄色软件下载| 国产精品99精品久久免费| 裸体健美xxxx欧美裸体表演| 午夜精彩视频在线观看不卡| 亚洲精品福利视频网站| 国产精品素人视频| 国产欧美1区2区3区| 久久免费视频色| 精品国产一区二区三区av性色| 欧美日本乱大交xxxxx| 欧美日韩亚洲综合一区二区三区| 99久久99久久久精品齐齐| 从欧美一区二区三区| 国产盗摄视频一区二区三区| 韩国精品一区二区| 久久www免费人成看片高清| 秋霞成人午夜伦在线观看| 爽爽淫人综合网网站| 日韩国产欧美三级| 秋霞国产午夜精品免费视频| 日本欧美一区二区| 免费不卡在线观看| 国内精品在线播放| 久久精品噜噜噜成人88aⅴ| 免费高清在线视频一区·| 美女在线视频一区| 国产一区二区美女| 不卡的看片网站| 91美女精品福利| 色一情一乱一乱一91av| 欧美性感一类影片在线播放| 欧美性xxxxxx少妇| 在线播放视频一区| 欧美一区二区三区婷婷月色 | 国产一区二区美女| 国产成人日日夜夜| 99久久婷婷国产综合精品| 99久久99久久精品国产片果冻 | 国产酒店精品激情| 国产不卡免费视频| av亚洲精华国产精华精| 色老综合老女人久久久| 欧美日韩精品一区二区三区蜜桃| 欧美精品乱码久久久久久按摩| 91精品国产麻豆| 国产欧美日韩不卡免费| 一区二区三区视频在线观看| 天堂va蜜桃一区二区三区| 国产综合色视频| 99re这里都是精品| 欧美一区二区三区在线电影| 久久久久综合网| 亚洲精品视频在线| 麻豆成人久久精品二区三区红| 国产成人在线电影| 欧美视频日韩视频| 久久久久久亚洲综合影院红桃| 国产精品久久久久久福利一牛影视| 亚洲精选在线视频| 久久精品国产99久久6| 大桥未久av一区二区三区中文| 欧美性色aⅴ视频一区日韩精品| 日韩欧美高清一区| 亚洲欧美日韩在线不卡| 奇米777欧美一区二区| 不卡电影一区二区三区| 91精品久久久久久久91蜜桃| 久久久久久久久久久久久女国产乱| 亚洲美女视频一区| 国产乱人伦偷精品视频免下载| 91蜜桃免费观看视频| 精品少妇一区二区三区日产乱码| 国产精品九色蝌蚪自拍| 老色鬼精品视频在线观看播放| 99r国产精品| 久久色中文字幕| 亚洲国产精品影院| av一区二区不卡| 欧美精品一区二区不卡| 亚洲午夜免费福利视频| 成人av一区二区三区| 日韩精品一区国产麻豆| 亚洲最大色网站| 成人黄色软件下载| 国产亚洲人成网站| 日本 国产 欧美色综合| 在线免费观看日韩欧美| 中文字幕一区二| 国产精品亚洲人在线观看| 91精品国产综合久久久久久| 亚洲最大色网站| 99r国产精品| 中国av一区二区三区| 九色综合狠狠综合久久| 欧美日韩激情一区二区| 一区二区在线看| 99re热这里只有精品免费视频| 久久久国产精品午夜一区ai换脸| 青娱乐精品视频| 欧美三级资源在线| 一区二区三区四区乱视频| 91在线国产观看| 国产精品萝li| 成人自拍视频在线| 久久日韩精品一区二区五区| 麻豆一区二区三| 欧美精品在线观看播放| 亚洲成人在线观看视频| 欧美日韩国产精品自在自线| 亚洲一区在线观看视频| 欧美视频一区二区三区| 亚洲国产成人av| 欧美视频一区二区三区在线观看| 亚洲精品免费电影| 日本高清不卡一区| 亚洲一区二区欧美| 欧美美女激情18p| 视频在线观看一区二区三区| 欧美影院精品一区| 五月天欧美精品| 欧美人与禽zozo性伦| 免费av成人在线| 久久你懂得1024| 成人免费看黄yyy456| 国产精品国产精品国产专区不蜜 | 成人手机在线视频| 国产欧美一区二区三区沐欲| 成人一区二区三区在线观看| 国产精品精品国产色婷婷| 色综合网站在线| 一区二区高清免费观看影视大全| 在线观看国产91| 日韩成人免费电影| 日韩免费电影一区| 国产成人8x视频一区二区| 国产精品三级电影| 91福利在线看| 日韩av网站免费在线| 欧美成人激情免费网| 国产99一区视频免费| 亚洲特级片在线| 欧美日韩一区成人| 久久国产生活片100| 欧美国产在线观看| 日本精品裸体写真集在线观看| 亚洲一区二区精品视频| 精品欧美乱码久久久久久1区2区| 国产成人啪午夜精品网站男同| 综合电影一区二区三区 | 成人性生交大片免费看中文| 亚洲色图欧美激情| 欧美亚洲一区二区在线观看| 免费在线观看一区| 国产精品人人做人人爽人人添| 色婷婷亚洲综合| 精品一区二区久久久| 国产精品免费视频一区| 欧美性做爰猛烈叫床潮| 精品综合久久久久久8888| **性色生活片久久毛片| 欧美老肥妇做.爰bbww视频| 国产成人免费在线观看不卡| 亚洲成a人v欧美综合天堂| 久久婷婷综合激情| 欧美四级电影网| 粉嫩欧美一区二区三区高清影视| 亚洲mv在线观看| 国产精品人妖ts系列视频| 91精品国产综合久久小美女| 成人激情小说乱人伦| 美日韩一级片在线观看| 亚洲欧美国产77777| 精品入口麻豆88视频| 欧美综合天天夜夜久久| 丁香六月久久综合狠狠色| 日韩成人精品在线| 亚洲欧美日韩系列| 亚洲美女区一区| 中文字幕不卡的av|