没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
21页
過去十年間,許多手寫輸入的軟體平台紛紛被發展出來,但一直到最近,由於高效能理器及硬體的發展才使得桌上型大小的手寫輸入型 PC 成為主流。本書由兩方面著手,處理關於如何撰寫出色的 Tablet PC 軟體的艱鉅任務。首先,它將過去關於實用性研究的精華提煉出來,用於手寫輸入電腦,以呈現出手寫輸入使用者介面最佳化設計的官方討論。第二,利用許多的秘訣和竅門,教導程式設計者如何生產出功能最強大的應用程式,並且也為 Tablet PC Ink SDK 提供了徹底、詳盡的說明。 將過去關於實用性研究的精華提煉出來,用於手寫輸入電腦,以呈現出手寫輸入使用者介面最佳化設計的官方討論。 利用許多的秘訣和竅門,教導程式設計者如何生產出功能最強大的應用程式,並且也為 Tablet PC Ink SDK 提供了徹底、詳盡的說明。 由 Microsoft Tablet PC 開發部門對主要的軟體開發者共同撰寫。
资源推荐
资源详情
资源评论
Building Tablet PC Applications with Visual FoxPro
By Markus Egger, President and Chief Software Architect, EPS Software Corporation
Abstract
This whitepaper introduces the Tablet PC and discusses developing applications using
Microsoft Visual FoxPro to target the Tablet PC.
2 Building Tablet PC Applications with Visual FoxPro
Contents
Introduction .............................................................................................................................3
So What Exactly is a Tablet PC?............................................................................................5
The Software............................................................................................................................7
The Pen ....................................................................................................................................7
Developing for the Tablet PC .................................................................................................8
The InkOverlay Class ............................................................................................................11
The InkPicture Control..........................................................................................................12
Recognizing Ink.....................................................................................................................16
Building a Real Application..................................................................................................18
Conclusion.............................................................................................................................21
EPS Software Whitepaper 3
Introduction
Last fall, Microsoft introduced an intriguing new hardware platform designed to run a superset of
Windows: The Microsoft Tablet PC. While this platform isn’t going to revolutionize the PC world
overnight, it certainly offers some great features that are likely to be implemented by a large number
of vendors and device types in the near future. In the meantime, Tablet PCs are great for a number
of target groups, from managers, to sales personnel, and pretty much everyone who needs full PC
power while being mobile.
Of course, Tablet PC features don't just magically show up in regular applications (not at any level
of sophistication anyway). Therefore, developers need to specifically support Tablet PC features
such as "Digital Ink." Luckily, this task is made relatively simple using Microsoft's Tablet PC SDK.
Visual FoxPro Developers can use this SDK to Tablet-enable various areas of applications, from
data entry, to annotation, to ink collection (perhaps to collect signatures or the like).
So what exactly is a Tablet PC, and why would we want one? Well, for one, a Tablet PC is – well –
a tablet. It is flat. While this is the most obvious feature, it is not the most significant one. These
honors go to Pen Input. While this doesn’t really require the device to be flat, it certainly provides a
much more natural experience. After all, Microsoft is trying to simulate a pen & paper environment
based on a digital platform. There are a number of reasons why this would be appealing. For one,
tablets provide great mobility. Unlike regular laptop computers, Tablet PCs can be carried around
resting on one arm, while they are operated with the other hand using mostly a pen. A clear
advantage over laptops, which are mobile, yet they usually need a surface to sit on (such as a lap
or a table) to free up both hands for input. Envision a nurse walking around the hospital trying to
take notes while balancing a notebook computer on the foot-board of a patient’s bed.
But there are more general uses for Tablet PCs. How many meetings have you attended lately?
The answer here is usually “too many.” Tablets are great in meetings, since their use generates a
4 Building Tablet PC Applications with Visual FoxPro
much more natural meeting atmosphere than the meetings we have grown accustomed to over the
recent years, where almost all participants hide behind there notebook screens annoyingly tapping
their keys, and pushing other people’s buttons at the same time.
And from the developer’s point if view. Tablet PCs are just enormously cool. Personally, I have
wanted a tablet, ever since I saw my first Star Trek episode. On a more serious note, I use my
Tablet PC for reading, taking notes in meetings, doing code and interface reviews, article writing,
and even to program.
Those last two items may surprise you. Am I writing Visual FoxPro code with a pen these days?
Certainly not. One often overlooked fact is that Tablet PCs are regular notebook computers,
providing a keyboard, hard drive, CD Rom drives, and everything else you would expect a notebook
computer to have. You can imagine these devices as notebook computers with a fancy display that
can swivel around and be folded up with the display pointing to the outside:
Figure 1: Many Tablet PCs are “convertibles” that can transform from traditional notebook computers into
Tablet PCs in a single “swivel.”
I cannot stress this point enough: Tablet PCs are general purpose PCs. They simply come with
some extra software and a fancier screen.
EPS Software Whitepaper 5
Note that there are also other form factors. Some tablets are just tablets. All the time. They are still
general purpose computers, meaning that they operate a regular Windows operating system and
have as much processing power, memory, and hard drive space as any other PC, but they do not
have a keyboard built in (although one can always hook up an external keyboard). But I would
consider these computers more of a specialty device. While pure tablets are great for certain
professions, most users are generally better of with a “convertible.”
Figure 2: A “pure” Tablet PC
Of course Tablet PCs aren’t the industry’s first venture into the world of Pen Computing. Several
years ago, products such as the GRiDPad or Go PenPoint tried to establish a market for
themselves, later followed by Windows for Pen Computing, which was a Windows 3.x based pen
operating system and Microsoft’s first steps in the field. Unfortunately, none of these ventures ever
really got of the ground, mainly due to hardware restrictions. Devices were either to heavy, not
powerful enough, or both. Displays had low resolution and were rather dim making them hard to
read. And handwriting recognition was practically useless partly because algorithms simply weren’t
up to the task, but primarily due to a lack of processing power.
The first useful pen-based devices came to us in the form of PDAs. These devices are still great
today when it comes to being able to carry around a PIM in your shirt pocket. However, they still
have major limitations. Screens are not as great as they should be and the resolution leaves much
to be desired. More limiting however is that these devices aren’t general purpose computers. In
other words, while there are specialized versions of Microsoft Word and Outlook available, they are
not the same programs. If you wanted to install a regular version of Microsoft Visio, for example,
you’d be entirely out of luck.
So What Exactly is a Tablet PC?
While there are a number of devices that fit the general description of a tablet pc, there are very
detailed specifications that define whether device can consider itself a true “Microsoft Tablet PC.” I
do not want to bore you with all the details here, but I do want to point out some of the more
interesting requirements.
For one, a Tablet PC has to have a digitizer. That’s the scientific term for the “tablet” that makes up
the screen. The digitizer is used to recognize the movement of the pen on and above the display.
The digitizer has to be rather sophisticated, and support a resolution much higher than the display.
This is important for a sophisticated handwriting experience. After all, pen & paper do not have
resolution limitations. The digitizer resolution must at least be 600dpi or 5-times the display
resolution (whichever is higher). For a typical 1024x768 display, this works out to a 615dpi sampling
剩余20页未读,继续阅读
资源评论
- q4902620962012-08-07标题党 就是一个介绍 没有什么实际用途
hcxy413
- 粉丝: 7
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功