Skip to content

Is there any plans to make a focus function? Dual hover and dual click functionality? #85

@jarden015

Description

@jarden015

I wanted it to allow hover events even while it is in the background.

Dual hover and dual click as in clickthrough to the background and the unity app would be great!

The unity asset on the asset store has dual hover with the way i scripted it: I set it to Window.clickthrough(true); every time !Application.isFocused; and it put it in a state that allowed hover to show in windows and the unity app.

I dont know code that well but his clicktrough function has a SetFocus function call that seems to be linked to these since I dont see it defined anywhere else:

static extern IntPtr FindWindowByCaption(IntPtr ZeroOnly, string lpWindowName);
[DllImport("user32.dll", EntryPoint = "SetFocus")]

public static extern bool SetFocus(int hWnd);
[DllImport("user32.dll", SetLastError = false)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions