<?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/kitay/">
    <title>Neroli</title>
    <link>http://w.atwiki.jp/kitay/</link>
    <atom:link href="https://w.atwiki.jp/kitay/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>Neroli</description>

    <dc:language>ja</dc:language>
    <dc:date>2013-04-11T00:49:37+09:00</dc:date>
    <utime>1365608977</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/30.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/23.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/29.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/28.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/14.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/26.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/kitay/pages/16.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/30.html">
    <title>メモ（非公開）</title>
    <link>https://w.atwiki.jp/kitay/pages/30.html</link>
    <description>
          </description>
    <dc:date>2013-04-11T00:49:37+09:00</dc:date>
    <utime>1365608977</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/2.html">
    <title>Menu</title>
    <link>https://w.atwiki.jp/kitay/pages/2.html</link>
    <description>
      **メニュー
-[[開発者&gt;Developer]]

**メモ
-[[メモ]]
-[[メモ（非公開）]]
-[[よく使うwiki構文]]

**更新履歴
#recent(5)

**リンク
-[[@wiki&gt;&gt;http://atwiki.jp]]
-[[@wikiへようこそ]]
-[[@wikiご利用ガイド&gt;&gt;http://atwiki.jp/guide/]]


//合計：&amp;counter()
//今日：&amp;counter(today)
//昨日：&amp;counter(yesterday)
//トップページの合計：&amp;counter(total, page=トップページ)    </description>
    <dc:date>2012-10-06T21:33:43+09:00</dc:date>
    <utime>1349526823</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/23.html">
    <title>メモ</title>
    <link>https://w.atwiki.jp/kitay/pages/23.html</link>
    <description>
          </description>
    <dc:date>2011-06-22T00:18:26+09:00</dc:date>
    <utime>1308669506</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/29.html">
    <title>Win32ウィンドウメッセージ</title>
    <link>https://w.atwiki.jp/kitay/pages/29.html</link>
    <description>
      #right(){&amp;update(format=Y/m/d H:i D)}
*Win32ウィンドウメッセージ
定義はWinUser.hを参照
#highlight(linenumber,css){{
using System.Windows.Interop;

/// &lt;summary&gt;
/// Window Messages
/// &lt;/summary&gt;
public	enum WindowsMessage
{
	/// &lt;summary&gt;
	/// ウィンドウが移動した時
	/// &lt;/summary&gt;
	WM_MOVE	= 0x0003,
	/// &lt;summary&gt;
	/// ウィンドウのサイズが変更された時
	/// &lt;/summary&gt;
	WM_SIZE	= 0x0005,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスカーソルが移動した時
	/// &lt;/summary&gt;
	WM_NCMOUSEMOVE	= 0xa0,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスの左ボタンを押す
	/// &lt;/summary&gt;
	WM_NCLBUTTONDOWN	= 0xA1,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスの左ボタンを離す
	/// &lt;/summary&gt;
	WM_NCLBUTTONUP	= 0xA2,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスの左ボタンのダブルクリック
	/// &lt;/summary&gt;
	WM_NCLBUTTONDBLCLK	= 0xA3,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスの右ボタンを押す
	/// &lt;/summary&gt;
	WM_NCRBUTTONDOWN	= 0xA4,
	/// &lt;summary&gt;
	/// 非クライアント領域でマウスの右ボタンを離す
	/// &lt;/summary&gt;
	WM_NCRBUTTONUP	= 0xA5,
	/// &lt;summary&gt;
	/// システムメニューを選択
	/// &lt;/summary&gt;
	WM_SYSCOMMAND		= 0x0112,
}

/// &lt;summary&gt;
/// WM_NCHITTEST and MOUSEHOOKSTRUCT Mouse Position Codes
/// &lt;/summary&gt;
public	enum MouseHitTestCodes
{
	HTERROR			= (-2),
	HTTRANSPARENT	= (-1),
	HTNOWHERE		= 0,
	HTCLIENT		= 1,
	HTCAPTION		= 2,
	HTSYSMENU		= 3,
	HTGROWBOX		= 4,
	HTSIZE			= HTGROWBOX,
	HTMENU			= 5,
	HTHSCROLL		= 6,
	HTVSCROLL		= 7,
	HTMINBUTTON		= 8,
	HTMAXBUTTON		= 9,
	HTLEFT			= 10,
	HTRIGHT			= 11,
	HTTOP			= 12,
	HTTOPLEFT		= 13,
	HTTOPRIGHT		= 14,
	HTBOTTOM		= 15,
	HTBOTTOMLEFT	= 16,
	HTBOTTOMRIGHT	= 17,
	HTBORDER		= 18,
	HTREDUCE		= HTMINBUTTON,
	HTZOOM			= HTMAXBUTTON,
	HTSIZEFIRST		= HTLEFT,
	HTSIZELAST		= HTBOTTOMRIGHT,
	HTOBJECT		= 19,
	HTCLOSE			= 20,
	HTHELP			= 21,
}
void _Loaded( object sender, RoutedEventArgs e )
{
	var	helper		= new WindowInteropHelper(this);
	var	hwndSource	= HwndSource.FromHwnd( helper.Handle );
	var	wndProcHandler	= new HwndSourceHook( _WndProc );
	hwndSource.AddHook( wndProcHandler );
}

/// &lt;summary&gt;
/// _WndProc
/// &lt;/summary&gt;
/// &lt;param name=&quot;hwnd&quot;&gt;&lt;/param&gt;
/// &lt;param name=&quot;msg&quot;&gt;&lt;/param&gt;
/// &lt;param name=&quot;wParam&quot;&gt;&lt;/param&gt;
/// &lt;param name=&quot;lParam&quot;&gt;&lt;/param&gt;
/// &lt;param name=&quot;handled&quot;&gt;&lt;/param&gt;
/// &lt;returns&gt;&lt;/returns&gt;
private IntPtr _WndProc(
	IntPtr		hwnd,
	int			msg,
	IntPtr		wParam,
	IntPtr		lParam,
	ref bool	handled
)
{
	handled	= false;

	switch( (Win32.WindowsMessage)msg )
	{
	case	Win32.WindowsMessage.WM_NCMOUSEMOVE:
		break;
	case	Win32.WindowsMessage.WM_SIZE:
		break;
	case	Win32.WindowsMessage.WM_MOVE:
		break;
	case	Win32.WindowsMessage.WM_NCLBUTTONDOWN:
		if( wParam.ToInt32() == (int)Win32.MouseHitTestCodes.HTCAPTION )
		{
			short x = (short)((lParam.ToInt32() &amp; 0xFFFF));
			short y = (short)((lParam.ToInt32() &gt;&gt; 16));
		}
		break;
	case	Win32.WindowsMessage.WM_NCLBUTTONDBLCLK:
		break;
	case	Win32.WindowsMessage.WM_NCRBUTTONDOWN:
		break;
	case	Win32.WindowsMessage.WM_NCRBUTTONUP:
		break;
	}
            
	return	IntPtr.Zero;
}

}}

----    </description>
    <dc:date>2011-05-14T13:35:20+09:00</dc:date>
    <utime>1305347720</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/28.html">
    <title>WPFTips</title>
    <link>https://w.atwiki.jp/kitay/pages/28.html</link>
    <description>
      #right(){&amp;update(format=Y/m/d H:i D)}
*WPF Tips
**XAMLを使用している定義はルートにすることはできない
XAML を使用して定義されているため、XAML ファイルのルートにすることはできません(クラスならOK)
#highlight(linenumber,css){{
&lt;custom:[使用するclassname]
    x:Class=&quot;[このxamlに対応するクラス]&quot;
    xmlns:custom=&quot;clr-namespace:[使用するnamespace]&quot;
}}
**ウィンドウの所有権
Window.Owner を設定する必要があるが、オーナーの作成が完了している必要があるのでオーナーのLoaded以降で行う
**ドラッグ アンド ドロップ操作中のマウス座標
ドラッグ アンド ドロップの操作中は、マウスの位置を GetPosition で確実に取得することはできません。
http://msdn.microsoft.com/ja-jp/library/system.windows.input.mouse.getposition.aspx
#highlight(linenumber,css){{
[DllImport(&quot;user32.dll&quot;)] 
private static extern bool GetCursorPos( out POINT lpPoint );
public struct POINT 
{
	public	int	X;
	public	int	Y;
}
}}
**ウィンドウハンドルの取得
#highlight(linenumber,css){{
var	handle	= new WindowInteropHelper(this).Handle;
}}

----    </description>
    <dc:date>2011-05-14T12:22:08+09:00</dc:date>
    <utime>1305343328</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/14.html">
    <title>Developer</title>
    <link>https://w.atwiki.jp/kitay/pages/14.html</link>
    <description>
      *開発者
**WPF
-[[集約例外ハンドラ]]
-[[PerformClick]]
-[[DoDragDrop]]
-[[アセンブリ情報]]
-[[ガラスウィンドウ]]
-[[GridLengthAnimation]]
-[[BitmapToBitmapSource]]
-[[アニメーション]]
-[[Win32ウィンドウメッセージ]]
-[[Tips&gt;WPFTips]]
**ExpressionBlend
-[[Tips&gt;ExpressionBlendTips]]

----    </description>
    <dc:date>2011-04-24T11:41:06+09:00</dc:date>
    <utime>1303612866</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/19.html">
    <title>DoDragDrop</title>
    <link>https://w.atwiki.jp/kitay/pages/19.html</link>
    <description>
      #right(){&amp;update(format=Y/m/d H:i D)}
*DoDragDrop
**ドラッグの開始
#highlight(linenumber,css){{
using System.Windows;
DragDrop.DoDragDrop( tabControl, tabItem, DragDropEffects.Move );
}}
**DragOver等でカーソルの形状を変える
#highlight(linenumber,css){{
e.Effects	= DragDropEffects.None;
e.Handled	= true;	// 変えたらtrue
}}


----    </description>
    <dc:date>2011-04-20T01:15:21+09:00</dc:date>
    <utime>1303229721</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/26.html">
    <title>アニメーション</title>
    <link>https://w.atwiki.jp/kitay/pages/26.html</link>
    <description>
      #right(){&amp;update(format=Y/m/d H:i D)}
*アニメーション
コードから再生していないと直ぐに忘れるのでメモ
**VisualStateManager
 VisualStateManager.GoToState( this, &quot;stateName&quot;, true );
**Storyboard
 BeginStoryboard( FindResource(&quot;animeName&quot;) as Storyboard );
**メモ
方法 : ストーリーボードを使用してアニメーション化した後にプロパティを設定する
http://msdn.microsoft.com/ja-jp/library/aa970493.aspx



----    </description>
    <dc:date>2011-04-10T00:02:58+09:00</dc:date>
    <utime>1302361378</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/1.html">
    <title>TopPage</title>
    <link>https://w.atwiki.jp/kitay/pages/1.html</link>
    <description>
      *トップページ

編集中




----    </description>
    <dc:date>2011-04-09T18:15:38+09:00</dc:date>
    <utime>1302340538</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/kitay/pages/16.html">
    <title>よく使うwiki構文</title>
    <link>https://w.atwiki.jp/kitay/pages/16.html</link>
    <description>
      *よく使うwiki構文
**最終更新日を右端に表示
 #right(){&amp;update(format=Y/m/d H:i D)}
**ソースコード表示
 #highlight(linenumber,css){{
 }}
**画像の挿入
 #image(image00.png)

----    </description>
    <dc:date>2011-04-09T17:27:43+09:00</dc:date>
    <utime>1302337663</utime>
  </item>
  </rdf:RDF>
