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

📄 readme.html

📁 vpd的几个实例下载
💻 HTML
字号:
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./readme_files/filelist.xml">
<title>vp observer readme</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Mark Ippolito</o:Author>
  <o:LastAuthor>David Lenihan</o:LastAuthor>
  <o:Revision>3</o:Revision>
  <o:TotalTime>58</o:TotalTime>
  <o:Created>2002-05-03T23:17:00Z</o:Created>
  <o:LastSaved>2002-05-21T22:12:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>193</o:Words>
  <o:Characters>1105</o:Characters>
  <o:Company>Multigen-Paradigm, Inc.</o:Company>
  <o:Lines>9</o:Lines>
  <o:Paragraphs>2</o:Paragraphs>
  <o:CharactersWithSpaces>1357</o:CharactersWithSpaces>
  <o:Version>9.2720</o:Version>
 </o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
@list l0
	{mso-list-id:492377701;
	mso-list-type:hybrid;
	mso-list-template-ids:-1060469150 -319021528 1202903722 1504479982 955529302 -1064250156 1878829598 -1100468780 -2147178820 -487453108;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1
	{mso-list-id:1745224497;
	mso-list-type:hybrid;
	mso-list-template-ids:1176303040 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
</head>

<body lang=EN-US style='tab-interval:.5in'>

<div class=Section1>

<h2>Overview</h2>

<p>This sample illustrates how to add a Vega Prime window to an MFC app.<span
style="mso-spacerun: yes">&nbsp; </span>All of the Vega Prime specific code is
in vp_mfcView.cpp.<span style="mso-spacerun: yes">&nbsp; </span>The other files
were auto-generated by the MFC AppWizard.<span style="mso-spacerun: yes">&nbsp;
</span>Search vp_mfcView.cpp for &#8220;Vega Prime&#8221; to see all of the code additions.<span
style="mso-spacerun: yes">&nbsp; </span>Before you start DevStudio, make sure
the environment variable VUNOTIFY_CREATE_CONSOLE is set.<span
style="mso-spacerun: yes">&nbsp; </span>When this environment variable is set,
Vega Prime will create a console.<span style="mso-spacerun: yes">&nbsp;
</span>The console is helpful for catching debug messages.<span
style="mso-spacerun: yes">&nbsp; </span>To remove the console window, unset VUNOTIFY_CREATE_CONSOLE.</p>

<p>This sample takes an ACF file as an argument.<span style="mso-spacerun:
yes">&nbsp; </span>If no ACF file is specified, the application will default to
&#8220;vp_mfc.acf&#8221;.<span style="mso-spacerun: yes">&nbsp; </span>&#8220;vp_mfc.acf&#8221; uses the game
motion model to move around the town.<span style="mso-spacerun: yes">&nbsp;
</span>The game motion model uses the keyboard&#8217;s arrow keys
(up/down/left/right) to navigate with the mouse turning the viewpoint.<span
style="mso-spacerun: yes">&nbsp; </span>Notice how the arrow keys navigate
while at the same time hot keys (like Ctrl-O for open) can access MFC menu
options.<span style="mso-spacerun: yes">&nbsp; </span>This demonstrates that
both MFC AND Vega Prime are routing keyboard messages.<span
style="mso-spacerun: yes">&nbsp; </span></p>

<p>The sample shows:</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Reparenting a Vega Prime window</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Resizing a Vega Prime window based on its parent</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Setting the Focus to the Vega Prime window so Vega
Prime will receive keyboard messages</p>

<p style='margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo4;
tab-stops:list .5in'><![if !supportLists]><span style='font-family:Symbol'>&middot;<span
style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Using a timer to update the Vega Prime frame in a way
that keeps the user interface responsive</p>

</div>

</body>

</html>

⌨️ 快捷键说明

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