English
Forum

check whether mouse button yet is pressed

 

Georg
Bernhardt
Hi
Search a Solution to determine whether The l or r and MD5 is pressed circa then as they losgelassen becomes The while Loop to leave. have only The Solution with subclassing found. power me but not happy. has someone a einfachere Solution?
 
XProfan 10
03/12/08  
 



If function getAsyncKeyState(1) NULL back gives, is the left Mouse button instantly not pressed. is Parameter 1 same 2 instead of 1, then becomes the Result for rights Mouse button zurückgeliefert.
 
03/12/08  
 




Jörg
Sellmeyer
Perhaps helps you this indeed:
CompileMarkSeparation
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/12/08  
 



@Jörg: I faith mousePressed functions only on hWnd.

@Georg: supra the Button Codes gives you too fix operator - look: [...] 
 
03/12/08  
 




Georg
Bernhardt
works with Getasynckeystate(1) integrally well, if one only short Time whom Button pressing and again loslässt. keeps one whom Button longer gedrück and can then go setting it Getasynckeystate(1) not NULL back, what's this thing because?
 
XProfan 10
03/12/08  
 



Minimalbeispiel?
 
03/12/08  
 




Georg
Bernhardt
here integrally simply
CompileMarkSeparation
XProfan 10
03/12/08  
 



your View source reacted by me How of me expects correctly.

even if I The Mouse button longer as 6 sec stops becomes The Loop immediate with release leave.

have You Eingabehilfen active? (Systemsteuerung)
 
03/12/08  
 




Georg
Bernhardt
No nothing active and the effect is by me on different Computern.
 
XProfan 10
03/12/08  
 



then shine we something not To mind.

On all Testrechnern same Maushardware and WinXP?

Have no idea...

Gleiches symptom too with %mousePressed ?

one could yet a lowlevel-Hook register in order to look whether The Info there also wrong übersandt becomes, because would not the case then has sooner a windows (or driver) -attitude influence this incorrect Result.
 
03/12/08  
 




Jörg
Sellmeyer
means by me functions it too...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/12/08  
 



certainly paste its Keys afer a long Andrücken. (Kola or so)
 
03/12/08  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.461 Views

Untitledvor 0 min.
H.Brill10/08/23
Georg Teles11/04/18
rquindt12/02/15
Andre Rohland01/22/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie