| ||||||||||||||||||
Kefir
FAQ-Schreiber Anm. Datum: 01.01.2001 Beiträge: 14381 Wohnort: Belgien Handy: Alle Möglichen zum Testen
Do 06. Mai, 2010 20:05
SciLor's .NET CF MultiTouch DLL v0.1 adds MultiTouch-Support to your existing .NET CF software very easily (Currently only for the HD2): If I release a new DLL, it WILL be fully compatible to the previous one! First of all you will have to add your app to the PinchToZoom Whitelist in the registry:
After adding, soft reset! Then add the "SciLors-MultiTouch.dll" as reference in your Visual Studio project. Beware, it is not allowed to change the assembly name! It must stay "SciLors-MultiTouch.dll" or it will not work! Afterwards declare the MultiTouch Class: VB.NET:
C#:
Then you add following to your Form_Load event: VB.NET:
C#:
Now, at every MultiTouch Event it gets delegated to your frmMain_Mouse* procedures (There will be always 2 Events fired due to there existing 2 Fingers on the screen ). You can easily detect wheather the mouse event comes from a normal mouse-press or a multitouch finger.
Code Examples: VB.NET:
C#:
Function Description/Documentation: -CatchWndProc(myForm, Optional PositionFixX, Optional PositionFixY): Redirects the Windows Messages from the "myForm" to the Multitouch Class. If you want to use it for a Control on top of the Form, the PositionFix can add/remove constant values to the returned MouseMessages. -RestoreWndProc(): Detaches the Multitouch Class from the Form to restore the normal Window Message flow. -UpdatePositionFix(PositionFixX, PositionFixY): If your control has changed it's position you can change its position in the class -UpdateFormTopLeft(PositionFixLeft, PositionFixTop): If the Top-Left Corner of the Form changes you may use this. -GetInformation(): Gives a Information String of the Multitouch DLL. It includes the version and some contact information. -Multiple Instances per Form are not supported and not needed (Multitouch events fire allways, everywhere on the form)! -The Mouse-Coordinates are allways relative to the forms top-left corner. ReadMe.txt (without code)
Zuletzt bearbeitet am 06.05.2010 20:06, insgesamt 1-mal bearbeitet Warum willst Du den Post von Kefir melden? | ||||||||||||||||||
Werbung |
||||||||||||||||||
Kefir
FAQ-Schreiber Anm. Datum: 01.01.2001 Beiträge: 14381 Wohnort: Belgien Handy: Alle Möglichen zum Testen
Do 06. Mai, 2010 20:06
Download unter:
http://www.scilor.com/hd2-leo-dotNetCfMultiTouchDLL.html Warum willst Du den Post von Kefir melden? | ||||||||||||||||||
Kefir
FAQ-Schreiber Anm. Datum: 01.01.2001 Beiträge: 14381 Wohnort: Belgien Handy: Alle Möglichen zum Testen
Do 06. Mai, 2010 20:29
Das müsste das Programm aus dem Video sein...
Kanns leider grad nicht testen weil mein Handy nicht bei mir ist Warum willst Du den Post von Kefir melden? | ||||||||||||||||||
aleX
Admin Anm. Datum: 01.01.2001 Beiträge: 24882 Wohnort: Österreich Handy: Samsung Note 9 Slogan: Wer glaubt etwas zu sein, hat aufgehört etwas zu werden!
Do 06. Mai, 2010 22:44
kefir hat Folgendes geschrieben:
Das müsste das Programm aus dem Video sein...
Kanns leider grad nicht en weil mein Handy nicht bei mir ist Ja ist es! Am Samsung Omnia konnte ich es installieren und es läuft auch.. Kommt aber mit Auflösung nicht zurecht.. Warum willst Du den Post von aleX melden?Der Mensch ist ein naiver Tourist mit einem abgelaufenem Visum für den Planeten Erde .. | ||||||||||||||||||
Kefir
FAQ-Schreiber Anm. Datum: 01.01.2001 Beiträge: 14381 Wohnort: Belgien Handy: Alle Möglichen zum Testen
Fr 28. Mai, 2010 10:49
aleX hat Folgendes geschrieben:
Kommt aber mit Auflösung nicht zurecht..
kefir hat Folgendes geschrieben: SciLor's .NET CF MultiTouch DLL v0.1 adds MultiTouch-Support to your existing .NET CF software very easily (Currently only for the HD2):
If I release a new DLL, it WILL be fully compatible to the previous one! Warum willst Du den Post von Kefir melden? | ||||||||||||||||||
...::: C&M - News :::... Foren-Übersicht » C/C++ |
|
||
Kurze URL: |
Du hast bereits für diesen
Post angestimmt...
;-)
Posting wird gespeichert...
Alle Zeiten sind GMT + 1 Stunde
© by Ress Design Group, 2001 - 2023