PC Review


Reply
Thread Tools Rate Thread

Informations

 
 
=?Utf-8?B?SnVsaWE=?=
Guest
Posts: n/a
 
      6th May 2005
Hello

I'm developping a C# application and I'd like to know where can I find
example how to use: WM_LBUTTONDOWN within my application

in the MSDN I found that the WM_LBUTTONDOWN is used when the user tap in the
screen, how can I do that

Thanks
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      6th May 2005
What do you want to do - send a WM_LBUTTONDOWN message from your app to
simulate a screen tap, or determine when the screen is tapped in your
application?

If it's simulation you want you can use the mouse_event API - see here for
an example:-
http://www.peterfoot.net/EmulateScreenTaps.aspx

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net |
http://www.opennetcf.org

"Julia" <(E-Mail Removed)> wrote in message
news:33CF844D-38DC-4B99-9E7B-(E-Mail Removed)...
> Hello
>
> I'm developping a C# application and I'd like to know where can I find
> example how to use: WM_LBUTTONDOWN within my application
>
> in the MSDN I found that the WM_LBUTTONDOWN is used when the user tap in
> the
> screen, how can I do that
>
> Thanks



 
Reply With Quote
 
 
 
 
Sergey Bogdanov
Guest
Posts: n/a
 
      6th May 2005
To trap window messages you could use IMessageFilter from OpenNETCF
library [1]. The WM_LBUTTONDOWN has value 0x0201 and how to trap
messages using IMessageFilter see this example [2] that demonstrates
WM_KEYDOWN handling for a textbox control (in your case just replace it
with WM_LBUTTONDOWN value).

[1] http://www.opennetcf.org/sdf/
[2] http://www.sergeybogdanov.com/Sample...DownFilter.zip

Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com


Julia wrote:
> Hello
>
> I'm developping a C# application and I'd like to know where can I find
> example how to use: WM_LBUTTONDOWN within my application
>
> in the MSDN I found that the WM_LBUTTONDOWN is used when the user tap in the
> screen, how can I do that
>
> Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
some part of informations from outlook does nor sync to my handhe. =?Utf-8?B?TkFOQQ==?= Microsoft Outlook Discussion 1 22nd Nov 2004 02:34 PM
Extract Informations inside a Borderframe Oliver Kurowski Microsoft Excel Programming 1 15th Jan 2004 10:08 PM
Howto remove old mainboard registry informations after upgrading the mainboard Chris Windows XP Hardware 2 10th Dec 2003 05:46 AM
informations harinder Windows XP Basics 0 22nd Sep 2003 07:49 AM
Can't find informations on TrendLines pancho Microsoft Excel Programming 0 23rd Jul 2003 08:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:09 AM.