.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

WPF Touch Bug?

Posted By:      Posted Date: October 02, 2010    Points: 0   Category :WPF

I have a very strange problem with WPF 4 and touch.  Essentially, touch stops working if the user touches the screen in a particular way.  It is extremely easy to reproduce (at least on my system).  Here are the instructions.

I create a new WPF Application.  Add two Windows to the project.  In the main Window, create a large button (make it large enough that you can comfortably fit two fingers within the bounds of the button).  Handle the buttonclick event to create a new window and call show dialog on the second window, for example:

Dim newWindow as SomeWindow
newWindow.Owner = Me

In your second window, you will probably want to add a button that calls Me.Close, so that you can run through a few tests.

Now, to produce the bug, perform these steps:

  1. Touch button with finger (a).  Do not let go.
  2. Touch button with finger (b).  Do not let go.
  3. Let go of finger (a).
  4. Let go of finger (b).

If you perform these steps, you will not be able to use touch on the dialog that was shown.  The only way to regain the touch is to touch two fingers to the s

View Complete Post

More Related Resource Links

UI Frontiers: Multi-Touch Manipulation Events in WPF


Multi-touch has progressed from being a futuristic prop of sci-fi films to a mainstream means of user interface. We'll show you how support for multi-touch in Windows 7 has filtered down and settled into various areas of the .NET Framework.

Charles Petzold

MSDN Magazine August 2010

Finger Style: Exploring Multi-Touch Support in Silverlight


Touch isn't just a form of mouse input in Silverlight: Sometimes what's required are controls specialized and optimized for touch.

Charles Petzold

MSDN Magazine March 2010

Don't Get Me Started: The Human Touch


People aren't computers; keep this in mind when developing software. When developers confuse people and computers, bad things happen.

David Platt

MSDN Magazine February 2010

Going Places: Enhancing Windows Touch Applications for Mobile Users


This article describes how to use the Windows Touch API and related APIs to enhance mobile application. The discussion focuses on general usability, object selection and implementing a natural user interface.

Gus Class

MSDN Magazine December 2009

Touch All the Bases: Give Your .NET App Brains and Brawn with the Intelligence of Neural Networks


Pattern recognition is an increasingly complex field. Every day technologies like handwriting recognition, spam filters, and search engines must identify ever more complicated patterns. One way these complex relationships can be represented is through the use of neural networks. Find out what neural networks can do for your pattern recognition and prediction tasks.

Christopher M. Frenz

MSDN Magazine May 2005

[WPF 4] Win7 Touch not works on custom desktop (CreateDesktop, SwitchDesktop)

I am working on an application which should run on a custom desktop created by the CreateDesktop Win32 method. The desktop switching and the custom desktop works well. My application uses WPF 4 with C# and should work on a Win7 based notebook with touchscreen. When running on the normal desktop everything works fine, but when I try to run it on my custom desktop the touch screen does something strange. When I try to click a button using touch, the button visually responds (so the buttons background will be light blue as normally under Vista/7), but the click event never occurs, if I click the button using the mouse everything works fine. > I did some tests and got the following results: [WPF and WinForms] Both mouse and touch events work well on the normal desktop in every case [WPF] Touch events DO NOT WORK on the custom desktop (for eaxmple TouchDown never fires) [WPF] Mouse events with the mouse work well on the custom desktop (Click with mouse) [WPF] Mouse events with touchscreen DO NOT WORK on the custom desktop (Click/Tap with finger) [WinForms] Mouse events with the mouse work well on the custom desktop (Click with mouse) [WinForms] Mouse events with touchscreen WORK WELL on the custom desktop (Click/Tap with finger) > I have also tried some other apps on the custom desktop: Paint works well, also with multi-touch. Touch Keyboard works well. Windows can b

UI Frontiers: Touch and Response

Charles Petzold continues his exploration of multi-touch Manipulation events in the Windows Presentation Foundation and shows you how to design custom classes to decorate elements and provide visual feedback to users.Charles PetzoldMSDN Magazine September 2010

Mac Video Converter for Sony Bloggie Touch:1080p to iPhone 720p

Mac Video Converter for Sony Bloggie Touch:1080p to iPhone 720p Months ago I wrote the article about iPhone 4 vs Sony Bloggie ultra-compact camcorder, on September 1, 2010 Sony announced Bloggie Touch MHS-TS20 as slim as a phone with 3.0" touch screen. With the 12.8 megapixles Exmor CMOS sensor and F2.8 wide angle lens, Sony Bloggie Touch MHS-TS20 can capture videos and pictures in high quality. According to the specifications announced by Sony, the Bloggie Touch MHS-TS20, as pocket MP4 camcera, will record video in 1920x1080 (29.97p) at 12M, 1280x720 (59.94p) at 6M, and 1280x720 (29.97p) at 4M. While you have already taken videos with 1920x1080 to enjoy the HD quality, you may find the 1080p MP4 is not supported by iPhone 4, as iPhone 4 only supports H.264 MP4 with up to 720p resolution. A quick Sony Bloggie Touch video converter will make it possible to enjoy Bloggie Touch 1080p video on iPhone 4. Aunsoft Video Converter for Mac would help you downscale 1080p video to 720p. No matter you are using Bloggie MHS-CM5, or will use Bloggie Touch MHS-TS20 to shoot 1920x1080 videos, you can follow the steps below on Mac Snow Leopard. Step 1. Transfer Sony videos from camera to computer. There is supplied PMB Portable for Bloggie MHS-CM5 to work with Mac OS X, and there will be Bloggie software embedded on camera, making the camera Mac compatible. It is easy to transfer

Windows Forms MouseDown and MouseOver like next generation touch keyboards


Hi I m trying to make keyboard in windows forms.

im gonna use it in touchscreen 7" windows.

but i cant do onething.

i designed two different png for each button. one is "XKey.PNG" second is "XKeyHolddown.PNG" . As you can understand second is for mouseDown event. But I m not gonna use it in mouseOver event. so when i move mouse curser without mouseDown I dont want them change. I just Want button change when i mouseDown on it. and if you relase mouse ( mouseUp ) it must return to xKey.png and send X key.


mouseOver: none

mouseDown: set Image "XKeyholddown.PNG"

mouseUp: set Image "XKey.PNG" and send "x" key

that is easy way.

but i want to navigate my finger over buttons without relase my finger like android and iphone keyboards

i couldnt figure how to do that. i though maybe there would be an event named MouseDownAndOver or sth like that but i couldnt find.

anyone know anyway to do that?

Watch Blu-ray Movies on iPod Touch 4G with Forced Subtitles

Watch Blu-ray Movies on iPod Touch 4G with Forced Subtitles
The new iPod Touch 4G offers more fun for watching movies, listening to music, and even shooting videos with 3.5-inch widescreen multi-touch display, 960x640-pixel resolution at 326 pixels per inch and two cameras. It is a great idea to watch Blu-ray movies on iPod Touch 4G, but the copy-protected .m2ts could not be transferred to iPod Touch directly.

After googling the fast solution, I find Aunsoft Blu-ray Ripper for Mac as the Mac BD to iPod Touch converter to convert BD to MP4 and downscale 1080p Blu-ray movies to 720p for iPod Touch 4G. It is the first BD to iPod Touch converter I find that includes the quick function to rip movies with forced subtitles, and list the main title/main movie for each Blu-ray disc.
Follow the steps below, and start watching movies like Avatar, Disctric 9, Star War with alien language and enjoy the hard-burned forced subtitles.
Step 1. Add BD movie to Aunsoft Blu-ray Ripper for Mac.
Connect BD-Rom to iMac, and insert Blu-ray disc to the external BD-Rom. Run Aunsoft Blu-ray Ripper for Mac as the fast BD to iPod Touch 4G converter o

Meeting workspace usage using Touch screen


We have the following requirement in Sharepoint 2010

Using the meeting workspace of Sharepoint, Meeting Agenda and related documents required for the meeting are created, Attendees are added and using meeting workspace mails are sent to the meeting attendees.

Meeting attendess should be able to able to use touch screen enabled systems to access the mails which will have access to the meeting workspace link. On clicking of these link, Meeting workspace should open and meeting attendees should be able to view Agenda, view/edit  documents.

Appreciate if anyone can guide me on Sharepoint 2010 enabled touch screen systems which can be used for taking care of this requirement.

Is there any changes to be done in sharepoint 2010 portal to make this possible.




Mac Sony Bloggie Touch Family Videos to Mini-Beamer Projector

Mac Sony Bloggie Touch Family Videos to Mini-Beamer Projector
Sony Bloggie Touch cameras, with MHS-TS10 for 4GB internal memory and MHS-TS20 for 8GB, attract eyeballs for the HD 1080p MP4 videos. Taking Sony Bloggie Touch camera in your pocket, you can shoot videos anytime you like. However, when you want to edit the HD videos on Mac computer or simply join the short video clips into a long one for presenting with Mini-Beamer, you may need a Mac Sony Bloggie Touch video editor.
Since the Bloggie Software V1.0 is not Mac compatible, Aunsoft Video Converter for Mac is the recommended Sony video converter and editor on Mac OS X like Tiger, Leopard and Snow Leopard. The video converter does not only help you join and combine several clips, but also enables you to trim and cut Bloggie Touch videos to get rid of the ____ during the video recording.

Follow the steps below, and you may find it easy to convert Sony Bloggie Touch videos to Mini-beamer or Pico projector on Mac, and merge video clips with only a click. Here we are taking Sony Bloggie MHS-CM5 videos as example.
Step 1. Load Sony videos to Aunsoft Video Converter for Mac.
Directly connect the Sony Bloggie camera with USB port, a

a multi-touch problem for listbox

we know it support the multi-touch in WPF4, and we know if SurfaceListBox's SelectionMode is Multiple, when user touch two items, two surfaceListBoxItem will be selected. but I try it in the listbox, find it is only select a item, not two item. Can you tell me how to implement it? thanks. 

Top 3 iPod Touch 4 Tools/Apps

Top 3 iPod Touch 4 Tools/Apps

iPod Touch 4 as a new Apple's product will change the world again. And kinds of iPod Touch 4 tools/apps developed for iPod Touch 4 come to the market, while many people are confused with so many tools/apps. Here our experts picked out 3 most uesful and popular iPod Touch 4 tools/apps for iTouch lovers.

Top 1.
Pavtube iPod Converter Ultimate
Pavtube iPod Converter Ultimate is an easy to use Blu-ray to iPod Converter, DVD to iPod Converter, and Video to iPod Converter that can convert Blu-ray discs, DVDs and videos/audios to iPod/iTouch matching formats that support playback on your favorite iPod/iTouch. It still offers you comprehensive editing functionalities such as setting advanced settings, choosing special effect modes, reversing video horizontally or vertically, adding various watermarks to let you make a better video picture and sound quality.

Fast DVD/Blu-ray disc/video to iPod conversion speed
Extract audio from blu-ray discs, DVDs, and video clips for iPod/iTouch
(Best Recommendation)

Transfer TiVo/MKV/AVI/WMV/MTS video to iPod Touch 4

Transfer TiVo/MKV/AVI/WMV/MTS video to iPod Touch 4

iPod is always people's favorite, and the newest iPod Touch 4 will change the world again. Honestly, the iTouch 4 is almost the same with iPhone 4 with similar function and outlook. It features Facetime which brings video calling to iPod Touch, retina display with 960-by-960 resolution, HD video recording and more amazing games. For me, the main use is to watch HD movies on iPod Touch which offers incredible resolution on the go. Especially in the coming Hallowing, I would love to transfer my downloaded movies about Hallowing in various of formats including TiVo, MKV, AVI, WMV, RM, VOB and MTS to my iPod Touch 4 for playback. Then, i will show you which tool to use and how to rip Blu-ray to iPod Touch 4.

Here are four Blu-ray Tools --- Pavtube Video Converter, Cucusoft Video Converter Ultimate, AVCWare Blu-Ray Ripper, iOrgsoft Video Converter which are skilled in trans

WPF 4.0 on Windows 7 Touch - Does PasswordBox support virtual (on-screen) keyboard?



I am developing a WPF 4.0 application to be deployed on a Windows 7 Touch machine.

During initial testing, I observed that TextBox control supports the virtual (on-screen) keyboard by default. However, the PasswordBox control does not seem to support the virtual keyboard.

I could not find any properties on PasswordBox to enable the virtual keyboard. Also, there isn't any guidance available online. For now, I assume that virtual keyboard has been disabled for security reasons.

Does the PasswordBox control support the virtual keyboard? If yes, please let me know the details.

Appreciate your time,


Best PDF to ePub Converter Download for iPhone, iPad, iPod Touch..


Do you wanna enjoy your favorate PDF eBooks with ePub Readers like iPhone, iPod Touch, iPad, and more? PDF to ePub Converter can help you make it.

As we know, Adobe Acrobat and Reader are not required when converting PDF to EPUB and the converted EPUB files will have all original file features preserved.

However, PDF to ePub Maker is such an excellent PDF to ePub Converter which can perfectly and quickly convert PDF format to ePub (.epub) for reading with iPhone, iPad, iPod Touch, etc. All original file features like original text, layout, tables, images and more can be preserved in the output ePub eBooks.

In addition, this PDF to ePub Converter is very easy-to-use, just a few clicks, you can get the ePub format files and enjoy with your cool handy readers.

For more: http://pdf-to-epub.xstudio.biz

Download Code:



--------------Related Software -----------

iPad Manager for ePub

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend