Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / September 2007

Tip: Looking for answers? Try searching our database.

PInvoke Scrolling

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Simon - 04 Jul 2007 21:22 GMT
Hey gang,

I am working on a gesture recognition library of which will make navigating
the WM UI nicer, more "iPhone" like via the touch screen.

So I am detecting touch screen gestures however for example if you drag your
finger down the screen I want to scroll the current window whether its IE,
contacts, file browser, whatever the app is.

Is this possible?

Do I have to figure out which window handle is in focus and call a pinvoke
call to a native api for sending a scroll command?

I am thinking this app will launch with no UI and just run in the background
intercepting events and if it deems it a gesture, it acts accordingly, if it
detects it as just a tap then it will not handle it and let the app handle it.

Any help would be greatly appreciated.

Thanks and take care.
Simon - 06 Jul 2007 15:30 GMT
Can anyone help me please? Is this possible via PInvoke to make gestures more
global throughout the OS for scrolling and other behaviors?

I am now trapping the gestures but now I need to understand how to tell the
OS to act accordingly.

If Pocket IE is open and I detect a drag-down gesture how can I tell IE to
scroll?

Thanks and take care.

> Hey gang,
>
[quoted text clipped - 17 lines]
>
> Thanks and take care.
zz - 27 Sep 2007 16:41 GMT
"Simon" <Simon@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ:1E80A3AE-E1E8-4406-93F0-24718E59E65D@microsoft.com...
> Can anyone help me please? Is this possible via PInvoke to make gestures
> more
[quoted text clipped - 37 lines]
>>
>> Thanks and take care.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.