Hello,
A few days back I posted a question here:http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=703875&SiteID=1 that how to detect Tap and Hold, I thank Alex that he provided an easy solution. I'm done with that.
Now I want to use it on TabControl, I have many pages on the TabControl and I want that when I Tap and Hold on any Node (Head) of the TabPage it should open up menu showing "Close Tab", I click it and that TabPage may Close.
The Problem I'm facing is that, When I put context menu on tab page, it shows up only one the page area of it is Tapped and Holded but not the Head
. And if i put context menu on the TabControl then it doesnot show up altogether because it doesnot have MouseDown event
Can anybody tell me how to solve this situation, I have seen it in Skype Messanger Pocket PC version but I'm scratching my mind that how they have achieved it and what should I do.
Please help me,
Best Regards,

Close TabPage by Tap & Hold on TabPage's Node (Head)
KatyG
In order to make this work, you will need get the button down press, and handle it yourself. As you've noted, we do not support mouse events on the tab control, so you will need to intercept them manually by overriding the native window procedure of the tab control to get the window message. Following that you can use Alex's solution from the other thread.
David Wrighton
Bruce Bukovics
I have implemented Alex's suggestion and it works fine. Now I dont know how to implement Mouse Down on TabControl because there is no Event of MouseDown on TabControl. Then how to map that individual Tab Head
I would really appreciate if you provide me some Article, Code Snippte, or way how to acheive this functionality.
Best Regards,