<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/palmdev/">
    <title>API Reference サンプル集</title>
    <link>http://w.atwiki.jp/palmdev/</link>
    <atom:link href="https://w.atwiki.jp/palmdev/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>API Reference サンプル集</description>

    <dc:language>ja</dc:language>
    <dc:date>2005-11-23T21:26:15+09:00</dc:date>
    <utime>1132748775</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/12.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/11.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/10.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/9.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/8.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/7.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/4.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/palmdev/pages/5.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/12.html">
    <title>FrmDrawForm</title>
    <link>https://w.atwiki.jp/palmdev/pages/12.html</link>
    <description>
      フォームを描画する。

**プロトタイプ

&gt;void FrmDrawForm (FormType *formP)

**例

&gt;FormPtr pForm = FrmGetActiveForm();
&gt;switch (pEvent-&gt;eType) {
&gt;　　case frmOpenEvent:
&gt;　　FrmDrawForm(pForm);
&gt;　　...

フォームが開かれたときに、そのフォームを描画する。    </description>
    <dc:date>2005-11-23T21:26:15+09:00</dc:date>
    <utime>1132748775</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/11.html">
    <title>FrmCustomAlert</title>
    <link>https://w.atwiki.jp/palmdev/pages/11.html</link>
    <description>
      アラートを表示する。
表示するメッセージを変えることができる。

**プロトタイプ

&gt;UInt16 FrmCustomAlert (UInt16 alertId,const Char *s1,const Char *s2,const Char *s3) 

**例

&gt;UInt16 buttonValue;
&gt;
&gt;buttonValue = FrmCustomAlert (1000,&quot;ボタンを押して下さい。&quot;,&quot;&quot;,&quot;&quot;);
&gt;switch(buttonValue) {
&gt;　　case 0:
&gt;　　　　FrmCustomAlert (1000,&quot;最初のボタン&quot;,&quot;&quot;,&quot;&quot;);
&gt;　　　　break;
&gt;　　case 1:
&gt;　　　　FrmCustomAlert (1000,&quot;2番目のボタン&quot;,&quot;&quot;,&quot;&quot;);
&gt;　　　　break;
&gt;　　case 2:
&gt;　　　　FrmCustomAlert (1000,&quot;最後のボタン&quot;,&quot;&quot;,&quot;&quot;);
&gt;　　　　break;
&gt;}

**補足

戻り値は、ユーザが押したボタンの番号(0から始まる)になる。    </description>
    <dc:date>2005-11-23T21:25:43+09:00</dc:date>
    <utime>1132748743</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/10.html">
    <title>FrmCloseAllForms</title>
    <link>https://w.atwiki.jp/palmdev/pages/10.html</link>
    <description>
      全てのフォームを閉じる。

**プロトタイプ

&gt;void FrmCloseAllForms (void)

**例

&gt;FrmCloseAllForms ();

開いている全てのフォームを閉じる。    </description>
    <dc:date>2005-11-23T21:25:13+09:00</dc:date>
    <utime>1132748713</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/9.html">
    <title>FrmAlert</title>
    <link>https://w.atwiki.jp/palmdev/pages/9.html</link>
    <description>
      アラートを表示する。

**プロトタイプ

&gt;UInt16 FrmAlert (UInt16 alertId)

**例

&gt;FrmAlert (1000);

1000番のアラートを表示する。

**補足

戻り値は、ユーザが押したボタンの番号(0から始まる)になる。    </description>
    <dc:date>2005-11-23T21:24:34+09:00</dc:date>
    <utime>1132748674</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/8.html">
    <title>DmReleaseResource</title>
    <link>https://w.atwiki.jp/palmdev/pages/8.html</link>
    <description>
      [[DmGetResource]]で取得したリソースのハンドルを開放する。

**プロトタイプ

&gt;Err DmReleaseResource (MemHandle resourceH)

**例

&gt;MemHandle h;
&gt;
&gt;h = DmGetResource(&#039;Tbmp&#039;,1000);
&gt;if (h != NULL) {
&gt;　　DmReleaseResource(h);
&gt;}    </description>
    <dc:date>2005-11-23T21:22:35+09:00</dc:date>
    <utime>1132748555</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/7.html">
    <title>DmGetResource</title>
    <link>https://w.atwiki.jp/palmdev/pages/7.html</link>
    <description>
      ビットマップや文字列などのリソースから、使いたいもののハンドルを取得する。
使い終わったら、ちゃんと[[DmReleaseResource]]で開放すること。

**プロトタイプ

&gt;MemHandle DmGetResource (DmResType type, DmResID resID)

**例

&gt;MemHandle h;
&gt;
&gt;h = DmGetResource(&#039;Tbmp&#039;,1000);

リソース番号が1000番のビットマップのハンドルをhに代入する。    </description>
    <dc:date>2005-11-23T21:21:48+09:00</dc:date>
    <utime>1132748508</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/palmdev/pages/2.html</link>
    <description>
      メニュー
-[[トップページ]]
-[[StrLen]]
-[[WinDrawChars]]    </description>
    <dc:date>2005-11-17T00:22:01+09:00</dc:date>
    <utime>1132154521</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/4.html">
    <title>WinDrawChars</title>
    <link>https://w.atwiki.jp/palmdev/pages/4.html</link>
    <description>
      **目的
画面に文字を描画する。

**プロトタイプ
&gt;void WinDrawChars (const Char *chars, Int16 len, Coord x, Coord y)

**例
&gt;WinDrawChars (&quot;hoge&quot;,4,80,80);
画面中央付近に&quot;hoge&quot;と表示する。

&gt;static Char foo[15] = &quot;Hello World.&quot;;
&gt;WinDrawChars (foo,[[StrLen]](foo),0,140);
画面左下に&quot;Hello World.&quot;と表示する。    </description>
    <dc:date>2005-11-16T22:34:06+09:00</dc:date>
    <utime>1132148046</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/palmdev/pages/1.html</link>
    <description>
      **このWikiについて
Palmsource社から提供されている「Palm OS&amp;reg; Programmer&#039;s API Reference」には、Palmware開発に必要な各種命令が解説されています。
しかし残念なことに、例文が全くと言っていいほどありません。
ということで、これは各種命令の例文をまとめるためのWikiです。
「例文が豊富な辞書」を目指します。

**使い方
上の[検索]から、または左の[ページ一覧]から、見たいページを探してください。
各ページに誤りを見つけた、もしくは追記したい情報がある、といった場合は、上の[編集]から誰でも編集できます。
ページの追加は上の[新規ページ]からできますが、現時点では管理者のみが新規ページを作成できるようにしています。

**お断り
-まだ暫定運用なので、構成が変わったり、移転したりするかもしれません。
-内容はなるべく正確なものにしたいと思っていますが、必ず正しいと保証できるものではありません。
-誤りを見つけたら、報告もしくは修正していただくことで、より良いものになっていきます。

**管理者
alg    </description>
    <dc:date>2005-11-16T22:32:55+09:00</dc:date>
    <utime>1132147975</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/palmdev/pages/5.html">
    <title>StrLen</title>
    <link>https://w.atwiki.jp/palmdev/pages/5.html</link>
    <description>
      **目的
文字列の長さを計算する。

**プロトタイプ
&gt;UInt16 StrLen (const Char *src)

**例
&gt;UInt16 hoge;
&gt;hoge = StrLen(&quot;fuga&quot;);
変数hogeには4が入る。    </description>
    <dc:date>2005-11-16T22:32:08+09:00</dc:date>
    <utime>1132147928</utime>
  </item>
  </rdf:RDF>
