顯示具有 WPF 標籤的文章。 顯示所有文章
顯示具有 WPF 標籤的文章。 顯示所有文章

2009年7月6日 星期一

Package 'Microsoft.VisualStudio.Xaml' has failed to load properly

Package 'Microsoft.VisualStudio.Xaml' has failed to load properly

Micorosft Visual Studio 2008
-> Visual Studio Tools
-> Visual Studio 2008 Command Prompt
devenv /resetskippkgs


resetskippkgs(reset skip packages)的作用:是告訴Visual Studio先清除所有載入失败的VSPackage,重新載入所有VSPackage後再啟動Visual Studio

2009年7月3日 星期五

Windows 7 Multi-touch Using WPF

Windows 7 Multi-touch Using WPF

[DllImport("user32.dll")]
public static extern bool SetProp(IntPtr hWnd, string lpString, IntPtr hData);

SetProp(HWND, "MicrosoftTabletPenServiceProperty", new IntPtr(0x01000000));


WPF Windows 7 Multi-touch
WPF team is working on adding MultiTouch related support for Win7 in WPF.

Disabling Press and Hold in Applications Written for Tablet PC

2009年6月25日 星期四

WPF NotifyIcon

WPF NotifyIcon
from Code Project, I encountered some exceptions when opening it on some Vista and Window 7 computers.

Taskbar Compass: how to use NotifyIcon in WPF
Using System.Windows.Forms.NotifyIcon control


Plus: WPF - Hide the Cursor
Mouse.OverrideCursor = Cursors.None;
Powered By Blogger