enhance execution rate of the application using mouse movement

Hi Dear

I use serial communication (use threads) in my application.
when I move cursor using mouse on the forms of the proposed application, the data acquisition rate will increase several times.
I tried to enhance the data acquisition rate of the proposed application using this.

but with the following procedures it is impossible:
1- move cursor using event_handlers
2- move curser using mouse over other application's forms

plaese help me to do it.

Thanks

Navid Navid
n_nnavid@yahoo.com

Comments

  • [b][red]This message was edited by Masterijn at 2003-12-29 16:5:12[/red][/b][hr]
    : Hi Dear
    :
    : I use serial communication (use threads) in my application.
    : when I move cursor using mouse on the forms of the proposed application, the data acquisition rate will increase several times.
    : I tried to enhance the data acquisition rate of the proposed application using this.
    :
    : but with the following procedures it is impossible:
    : 1- move cursor using event_handlers
    : 2- move curser using mouse over other application's forms
    :
    : plaese help me to do it.
    :
    : Thanks
    :
    : Navid Navid
    : n_nnavid@yahoo.com
    :
    Hi Navid Navid,
    Don't understand the problem! But I guess that it lurkes in this corner: mouse movement messages aren't posted but handled directly. It could be that your multi threading design is a little sensitive to this. If you can clearify the problem?
    Are you creating windows from within threads?





Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion