⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.html

📁 WindowsCE.[Essential Windows CE Application Programming].Jon Wiley & Son.zip
💻 HTML
📖 第 1 页 / 共 2 页
字号:
			</font></td>
	</tr>
	</table>
	</form>
<!-- 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-full.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=0//-->
<!--PAGES=xiii-xviii//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="ewtoc.html">Table of Contents</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Introduction</FONT></H2>
<P><BIG><BIG>T</BIG></BIG>he Windows CE operating system has been available to application programmers for over two years. Independent software vendors have been writing applications for platforms such as the Handheld PC ever since Windows CE was born. At the same time, original equipment manufacturers have been designing and implementing all kinds of new devices based on the operating system. But despite the growth of the operating system and the number of software developers writing applications for it, there are still only a handful of books on the subject of Windows CE programming.</P>
<P>My interest in writing this book comes from over two years of Windows CE programming experience, during which I have been involved in a number of Windows CE development efforts. I am writing this book out of a desire to share with readers the insights I have gained from these experiences.</P>
<P>As the market for mobile and handheld computing devices continues to grow, Windows CE will continue to change. The features present in Windows CE today may not be there tomorrow. Windows CE features will be shaped by the demands of the users of the devices powered by the operating system.</P>
<P>But certain core technologies will always be a part of Windows CE. This book is a guide to the essential features of Windows CE programming.</P>
<P><FONT SIZE="+1"><B>How This Book Is Organized</B></FONT></P>
<P>This book is organized into four parts which focus on the following Windows CE application programming topics:
</P>
<DL>
<DD><B>&#149;</B>&nbsp;&nbsp;Windows CE programming fundamentals
<DD><B>&#149;</B>&nbsp;&nbsp;Windows CE persistent storage
<DD><B>&#149;</B>&nbsp;&nbsp;User interface programming techniques
<DD><B>&#149;</B>&nbsp;&nbsp;Desktop connectivity, memory, and power management
</DL>
<P><FONT SIZE="+1"><B><I>Part I</I></B></FONT></P>
<P>Part I of the book covers Windows CE programming fundamentals and contains five chapters. Chapter 1 describes the architecture of the Windows CE operating system. The various Windows CE subsystems are described. In addition, Chapter 1 takes a look at how to use some of the development tools available for writing Windows CE applications. The chapter takes you through a sample session in which you learn how to build a Windows CE application for emulation as well as for a real hardware platform.
</P>
<P>Chapter 2 covers the main ingredients of a Windows CE application. Through the example of a generic template application, the chapter introduces the concepts of the Windows CE entry point, registering window classes, writing window procedures, and creating windows. It also points out some of the fundamental differences between Windows CE windows and windows created for desktop Win32 platforms.</P>
<P>Next, Chapter 3 discusses the fundamentals of programming Windows CE controls and dialog boxes. The chapter introduces the basic concepts you need to use Windows CE child and common controls. It also covers how to program modal and modeless dialogs and how to write and use dialog procedures. Chapter 3 finishes with a discussion of programming the Windows CE common dialogs.</P>
<P>Chapter 4 covers Windows CE menus. The majority of the chapter is devoted to a discussion of Windows CE command bars. The command bar control is an essential part of using menus in Windows CE applications.</P>
<P>Part I concludes with a more detailed discussion of programming the Windows CE common controls. In particular, Chapter 5 covers the month calendar control, the date time picker control, rebar controls, and command bands.</P>
<P><FONT SIZE="+1"><B><I>Part II</I></B></FONT></P>
<P>Part II of this book is dedicated to Windows CE persistent storage. The three chapters in this part are your resource for learning how to program the various features of the Windows CE object store.
</P>
<P>Chapter 6 covers using the Windows CE file system and how to program the file system API. You will learn about using files and directories, as well as how to access storage cards attached to Windows CE devices. The concepts of this chapter are made clear with the Windows CE File System Explorer sample application.</P>
<P>Chapter 7 discusses Windows CE database technology. You will learn how to create custom databases for your applications and how to read and write database records. You will also learn how to search for database records, and how to sort databases. In addition, Chapter 7 introduces the Windows CE contacts database.</P>
<P>The last chapter of Part II covers the Windows CE registry. Chapter 8 shows you how to use the registry for persistent storage of small amounts of information when a complete database or directory structure is not necessary.</P>
<P><FONT SIZE="+1"><B><I>Part III</I></B></FONT></P>
<P>Part III concentrates on various Windows CE user interface programming techniques. An entire book could easily be devoted to this subject. The five chapters in this section cover some of the more important and common user interface programming subjects.
</P>
<P>Chapter 9 begins the discussion by introducing the concept of owner draw controls. With specific examples of programming owner draw buttons, the chapter provides an overview of how Windows CE owner draw controls can be used to customize the appearance of your applications. This chapter also covers the use of offscreen bitmaps. Chapter 10 expands on the owner draw concept with its treatment of the Windows CE custom draw service</P>
<P>Chapter 11 shows you how to take complete control of the appearance and behavior of your controls by describing how to create Windows CE custom controls. This chapter also provides a valuable review of how to program and use dynamic link libraries.</P>
<P>Chapter 12 is about using the Windows CE HTML viewer control. It shows you how to use this control to add HTML viewing capabilities to your Windows CE applications.</P>
<P>Finally, Chapter 13 introduces various nontraditional Windows CE input techniques. In the context of programming applications for the Palm-size PC, this chapter shows you how to program the rich ink control and how to add voice recording capability to applications using the voice recorder control. Chapter 13 also describes how to take advantage of the Palm-size PC navigation buttons.</P>
<P><FONT SIZE="+1"><B><I>Part IV</I></B></FONT></P>
<P>The last part of this book discusses programming some of the desktop connectivity features provided by the Windows CE operating system. This section is invaluable if you are interested in writing Windows CE applications that can share data with desktop PCs.
</P>
<P>Chapter 14 covers the ActiveSync technology for data synchronization. You will learn how to program ActiveSync service providers for both a desktop PC and a Windows CE device.</P>
<P>Chapter 15 shows you how to use the remote application programming interface, or RAPI, in order to allow your desktop applications to access Windows CE devices. This chapter also covers file filter programming.</P>
<P>The last chapter of the book introduces Windows CE memory management concepts. Chapter 16 also discusses Windows CE power considerations.</P>
<P><FONT SIZE="+1"><B>Who Should Read This Book</B></FONT></P>
<P>This book is intended primarily for readers with some Windows programming experience. It assumes that you are familiar with the basic components of a desktop Windows application. It assumes that you have written applications for Windows NT, Windows 95, or Windows 98. It also assumes that you already have some experience with Windows graphics programming topics, such as the Graphics Device Interface (GDI) functions.
</P>
<P>However, you do not need to be a Windows expert to use this book for your Windows CE programming needs. In fact, the emphasis in this book is on programming Windows CE at the application programming interface (API) level. This book is perfectly suited, therefore, for a programmer with experience using the Microsoft Foundation Classes (MFC), but whose understanding of how the underlying API works is a bit rusty.</P>
<P>This is why, for example, I cover topics such as window procedures, message loops, and dialog box programming early in the book. Many Windows programmers successfully write applications with MFC, but do not really understand how that class library works. And since Windows CE is for many reasons not particularly well suited to MFC, this book will provide many intermediate level Windows programmers with a thorough understanding of the internal workings of Windows CE.</P>
<P>Experienced Windows programmers will also find this book valuable because it discusses features specific to Windows CE application programming. Many of the advanced topics in this book, such as data synchronization or programming the remote API, may be unfamiliar to the most experienced Windows NT or Windows 98 programmer.</P>
<P>This book is intended, then, for intermediate level and advanced Windows programmers interested in writing Windows CE applications. Advanced readers may find that they want to skip the chapters that cover subjects they are familiar with from programming desktop Windows applications. For example, chapters covering Windows CE dialog box programming, custom controls, or the Windows CE file system can safely be skipped by advanced readers. However it is worth pointing out that although many Windows CE concepts are similar to their Windows NT or Windows 98 counterparts, there are often subtle differences specific to Windows CE programming. More experienced programmers will therefore find all of the chapters of this book useful.</P>
<P>With few exceptions, all of the examples in this book and all of the code samples on the companion CD-ROM are written in C. C&#43;&#43; is only used for some of the code required for the ActiveSync service providers in Chapter 14, and for the file filter examples of Chapter 15.</P>
<P><FONT SIZE="+1"><B>Tools You Will Need</B></FONT></P>
<P>To use this book, it is assumed that you have a desktop PC running Windows NT version 4.0 or later with Microsoft Developer Studio Visual C&#43;&#43; version 5.0 or later. It also assumes that you have installed the Windows CE Toolkit for Visual C&#43;&#43; version 2.0 or later.
</P>
<P>The companion CD provides a number of sample applications illustrating the programming concepts discussed in this book. Read the appendix, &#147;What&#146;s on the CD-ROM?&#148; to find out more about it. If you are interested in running any of these on a Windows CE device such as a Handheld PC or Palm-size PC, it is assumed that you have installed Windows CE Services on your desktop PC. This book also assumes that you are familiar with concepts such as connecting the device to the PC and copying files to the device.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B><B>D<SMALL>EVELOPMENT</SMALL> M<SMALL>UST</SMALL> B<SMALL>E</SMALL> D<SMALL>ONE</SMALL> <SMALL>ON</SMALL> W<SMALL>INDOWS</SMALL> NT</B>
<P><B>Your Windows CE applications must be developed on Windows NT. The emulation environment only works under Windows NT, and the Windows CE Toolkits and SDKs are only supported for Windows NT.</B><HR></FONT>
</BLOCKQUOTE>
</P>
<P><FONT SIZE="+1"><B>Before We Begin</B></FONT></P>
<P>This book covers a lot of material. However, no single book can possible discuss all aspects of a subject as vast as Windows CE programming. It is my hope that this book will become your primary reference for understanding the most essential features of Windows CE programming.
</P>
<P>As such, this book concentrates on those subjects that are most fundamental to Windows CE. As with any software product, Windows CE will see features come and go. But the fundamental building blocks on which Windows CE applications are based are sure to be around for a long time to come. It is the goal of this book to introduce you to these core Windows CE programming concepts.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="ewtoc.html">Table of Contents</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 -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -