Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Linking error with imagefile
Next Topic: [solved] Widget events - any other than WhenAction ?
Goto Forum:
  


Current Time: Fri Jul 18 03:15:31 CEST 2025

Total time taken to generate the page: 0.04477 seconds