zaafar / ClickableTransparentOverlay

A library for creating transparent overlay using windows API & ImGui.NET
Apache License 2.0
87 stars 33 forks source link

Scaling issues in version >= 9.2.0 #67

Closed TwoTenPvP closed 1 month ago

TwoTenPvP commented 4 months ago

In version 9.2.0 and above, menus cannot be dragged or used across the whole window size. Works properly in 9.1

zaafar commented 4 months ago

Users of this lib are allowed to modify window size as well as make it full screen. Doing so will allow you to re-produce the 9.1 behaviour. Let me know if you need anything else.

ErickCHIN000 commented 4 months ago

Users of this lib are allowed to modify window size as well as make it full screen. Doing so will allow you to re-produce the 9.1 behaviour. Let me know if you need anything else.

i have no idea how to go about doing that, could you share an example or point me to one?

zaafar commented 4 months ago

Users of this lib are allowed to modify window size as well as make it full screen. Doing so will allow you to re-produce the 9.1 behaviour. Let me know if you need anything else.

i have no idea how to go about doing that, could you share an example or point me to one?

https://github.com/zaafar/ClickableTransparentOverlay/blob/master/Examples/MultiThreadedOverlay/SampleOverlay.cs#L139

zaafar commented 1 month ago

now you can do it in class constructor as well as shown below. https://github.com/zaafar/ClickableTransparentOverlay/blob/master/Examples/SimpleExample/SampleOverlay.cs#L11