hiitiger / goverlay

DirectX hook and game overlay solution for Electron, Qt and CEF, just like discord/steam game overlay,inject any app to overlay in your game
Other
800 stars 111 forks source link

how to ignore cursor-change? #104

Closed MWstudio closed 8 months ago

MWstudio commented 1 year ago

when i mouse hover on overlay in league of legends, mouse cursor change to window cursor. i want to ignore it.

i tried remove window.webContents.on "cursor-changed", and add focusable(false) option.

hiitiger commented 1 year ago

@MWstudio pushed an update for this

MWstudio commented 1 year ago

@hiitiger i solved it thank you!!

rebuild electron-overlay.node, change n_overlay.dll and add focusable(false)

i have an question, if i change name [const name = "StatusBar"] overlay not showing what is the reason?

KendrickFerguson commented 1 year ago

@MWstudio is this work on exclusive full screen in league of legends? In other words, can it enable me to overlay the game while it's running? If it does, could you kindly provide me with the steps to achieve this?

MWstudio commented 1 year ago

@MWstudio is this work on exclusive full screen in league of legends? In other words, can it enable me to overlay the game while it's running? If it does, could you kindly provide me with the steps to achieve this?

  1. it work in full screen.
  2. just follow example codes
KendrickFerguson commented 1 year ago

yes its work now!

MWstudio commented 8 months ago

updated

rob1121 commented 4 months ago

Hello @MWstudio @hiitiger. Do you have idea how to ignore cursor-change in the draggable area? Hovering over the draggable area changes the cursor to IDC_ARROW.

MWstudio commented 3 months ago

@rob1121 in "cursor-changed" sendCommand cursor null string or do not send