Home » Community » Newbie corner » App "swallowing" mouseclicks  
	
		
		
			| Re: App "swallowing" mouseclicks [message #58791 is a reply to message #58790] | 
			Wed, 31 August 2022 19:41    | 
		 
		
			
				
				
				
					
						  
						jjacksonRIAB
						 Messages: 227 Registered: June 2011 
						
					 | 
					Experienced Member  | 
					 | 
		 
		 
	 | 
 
	
		Just checked your example - yes, you are probably registering a double-click.  
 
Try all three separately: 
 
    void LeftDouble(Point p, dword d) override {
        count++;
        EditString::LeftDouble(p, d);
    }
    void LeftDown(Point p, dword d) override {
        count++;
        EditString::LeftDown(p,d);
    }
    
    void LeftUp(Point p, dword d) override {
        count++;
        EditString::LeftUp(p, d);
    }
 
 
If you just do LeftUp you'll probably see it works reliably. No events are being lost.
		
		
		[Updated on: Wed, 31 August 2022 20:06] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
  
 
Goto Forum:
 
 Current Time: Tue Nov 04 13:24:04 CET 2025 
 Total time taken to generate the page: 0.06513 seconds 
 |