This project has moved. For the latest updates, please go here.
7
Vote

MultipleMice Cursor below window(not on top)

description

Cursor of the multipleMice (red circle) is staying below window. Example, when i click on start menu, i can't see where my cursor is, because it is below the start window.

comments

bens1492 wrote Nov 10, 2010 at 11:29 PM

Also the red cursor does not appear in microsoft touchpack games (which usually play in full screen) and also displays below the on screen keyboard.

3xplor3r wrote Dec 13, 2010 at 9:31 PM

I found way to display cursor over all of the windows. In the DebugCursor.cs file i added "this.BringToFront()" to the overrided method WndProc. The code is below

protected override void WndProc(ref Message msg)
    {
        if (msg.Msg == 33)
            msg.Result = (IntPtr)3;
        else
            base.WndProc(ref msg);
        this.BringToFront();
    }

3xplor3r wrote Dec 14, 2010 at 3:03 PM

Edit to my previous post.
    int c = 0;
    protected override void WndProc(ref Message msg)
    {
        if (msg.Msg == 33)
            msg.Result = (IntPtr)3;
        else
            base.WndProc(ref msg);
        c++;
        if (c > 100)
        {
            c = 0;
            this.BringToFront();
        }
    }
This code uses less CPU.

wrote Feb 22, 2013 at 1:04 AM